Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Fixed XXE Vulnerability when parsing 'nmap_data'#1

Merged
huntr-helper merged 3 commits into
418sec:masterfrom
mufeedvh:master
Feb 21, 2020
Merged

Fixed XXE Vulnerability when parsing 'nmap_data'#1
huntr-helper merged 3 commits into
418sec:masterfrom
mufeedvh:master

Conversation

@mufeedvh
Copy link
Copy Markdown

The standard XML library is vulnerable to XXE (XML External Entity) attacks such as "Billion Laughs" XXE bomb attack. This issue has been raised on Feb 2018 (savon-noir#87) and haven't been mitigated because there were no good solutions for this vulnerability.

Although there has been discussions of these vulnerabilities in Python's official bug tracker (https://bugs.python.org/issue17239) which helped me come up with a solution that is to use 'defusedxml' instead of the standard 'xml' module which is a XML bomb protection for Python stdlib modules.

Fixed! 👍

@huntr-helper
Copy link
Copy Markdown

Congratulations @mufeedvh - you are the successful huntr!
Thank you for submitting your fix - we have approved your pull request and will merge your commits into our master branch.
If you have any questions, please respond in the comments section. Your bounty is on its way - keep hunting.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants