-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
248 check for xss eg using httpsgithubcomhahwuldalfox #1251
248 check for xss eg using httpsgithubcomhahwuldalfox #1251
Conversation
…of github.com:CERT-Polska/Artemis into 248-check-for-xss-eg-using-httpsgithubcomhahwuldalfox
.readthedocs.yaml
Outdated
version: 2 | ||
|
||
build: | ||
os: ubuntu-20.04 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was this removed?
Running a report with data generated using the Dalfox tool, which scans URLs for XSS vulnerabilities. | ||
""" | ||
|
||
XSS_VULNERABILITY = ReportType("xss_vulnerability") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
simply xss
{% trans trimmed %}In the URL{% endtrans %} <em>{{ message.url }}</em> | ||
{% trans trimmed %}we identified an xss vulnerability in the parameter:{% endtrans %} | ||
<b>{{ message.param }}</b> {% trans trimmed %}in{% endtrans %} {{ message.evidence }}. | ||
{% trans trimmed %}Based on the Dalfox documentation, the{% endtrans %} <b>{{ message.type_name }}</b> {% trans trimmed %}type (Proof of Concept) was detected.{% endtrans %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nuke this line, as nobody knows what these types mean ;)
<li> | ||
<p> | ||
{% trans trimmed %}In the URL{% endtrans %} <em>{{ message.url }}</em> | ||
{% trans trimmed %}we identified an xss vulnerability in the parameter:{% endtrans %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xss -> XSS
<p> | ||
{% trans trimmed %}In the URL{% endtrans %} <em>{{ message.url }}</em> | ||
{% trans trimmed %}we identified an xss vulnerability in the parameter:{% endtrans %} | ||
<b>{{ message.param }}</b> {% trans trimmed %}in{% endtrans %} {{ message.evidence }}. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
write some info what XSS is. Some inspiration:
"Cross-Site Scripting, umożliwiającą atakującemu spreparowanie linku, który, po kliknięciu przez administratora, wykona dowolną akcję z jego uprawnieniami (taką jak np. modyfikacja treści)."
docker-compose.test.yaml
Outdated
@@ -196,6 +196,14 @@ services: | |||
volumes: | |||
- ./test/reporting/data/bruteable_files/htpasswd/:/var/www/html/ | |||
|
|||
test_apache-with-sql-injection-xss: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sql-injection-xss ?
test/data/dalfox/xss.php
Outdated
<input type="submit" value="Wyślij"> | ||
</form> | ||
|
||
<!-- Wyświetlanie wprowadzonego imienia --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
English pls ;)
test/modules/test_xss_by_dalfox.py
Outdated
def test_dalfox_on_xss_page(self) -> None: | ||
task = Task( | ||
{"type": TaskType.SERVICE.value, "service": Service.UNKNOWN.value}, | ||
payload={"url": "http://test_apache-with-sql-injection-xss/xss.php"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we shouldn't test some internal pages - we should test whether this module crawls on its own
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approvuje zmiany kazeta
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approvuje zmiany kazeta
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve.
First version of Dalfox integration with Artemis.