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

XXE DoS in configuration import #2

Open
ProDigySML opened this Issue Dec 13, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@ProDigySML

ProDigySML commented Dec 13, 2017

Issue

An appropriately placed attacker can upload a ZIP file with XML files within it. If these XML files contain the payload from billion laughs attack (https://en.wikipedia.org/wiki/Billion_laughs_attack), a denial of service scenario can be created.

Remediation

Before loading the XML into memory, use libxml_disable_entity_loader(true); to ensure no entities can affect your import

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