-
Notifications
You must be signed in to change notification settings - Fork 183
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
RuntimeError in mod_xxe #483
Comments
Is it possible to enter in the wapiti/wapitiCore/attack/mod_xxe.py Lines 389 to 394 in e076399
In this specific case, mutate will yield nothing.wapiti/wapitiCore/attack/attack.py Lines 504 to 511 in e076399
|
Indeed and However if we crashed in Let's keep the issue open till we find a way to reproduce |
I've found a way to reproduce. wapiti/wapitiCore/attack/attack.py Lines 509 to 517 in 9aaebe7
Test done with <?php
if (isset($_FILES["calendar"])) {
libxml_disable_entity_loader(false);
$dom = new DOMDocument();
move_uploaded_file($_FILES["calendar"]["tmp_name"], "/dev/shm/wapiti.xml");
$calendar = file_get_contents("/dev/shm/wapiti.xml");
$dom->loadXML($calendar, LIBXML_NOENT | LIBXML_DTDLOAD);
$output = simplexml_import_dom($dom);
echo "Data loaded.";
} else {
?>
<form method="POST" enctype="multipart/form-data">
Please send your xml calendar: <input type="file" name="calendar"/ >
<input type="submit" value="Submit" />
</form>
<?php
}
?> Command : |
Stumbled into this today:
It looks like the call to
next
returned nothing while it was expected.The bug appeared while scanning a Wordpress install with the plugin "addonify-quick-view" but maybe it is possible to spot the bug just by looking at the Wapiti code.
The text was updated successfully, but these errors were encountered: