-
Notifications
You must be signed in to change notification settings - Fork 76
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
XMLUnit2 has an RCE vulnerability caused by XSLT #264
Comments
with b81d48b I've disabled extension functions by default. Even with 2.9.1 and earlier it is possible to disable extension functions by passing in a properly configured I still need a way to do the same to XPathFactory and will look into it. |
@bodewig I have applied for a CVE number for this. Would you mind disclosing it? The CVE number is CVE-2024-31573. |
I honestly don't believe this is worth a CVE as people who need to disable extension functions have always been able to do so. If you insist on the CVE it can certainly be "disclosed" - it's bee public knowledge for weeks anyway. What is your preferred way of disclosing it? I have zero experience with publishing CVEs around github. |
@bodewig I would like to proceed with disclosing this CVE. My preferred platform for disclosure is GitHub. If that is not feasible, we can disclose it in the way you are most familiar with. Thank you. |
@c1gar I will draft a security advisory later today, not sure I can share its content with you in a reasonable way - maybe you could drop me an email (my primary mail address is stefan.bodewig@freenet.de ) |
pom.xml
poc
There is no function for setting security parameters in org.xmlunit.transform.Transformation, and the default security parameters do not include defense against XSLT vulnerabilities.
And I would like to emphasize that XSLT vulnerabilities and XXE vulnerabilities are completely different types of vulnerabilities. XSLT vulnerabilities belong to CWE-94 type, while XXE vulnerabilities belong to CWE-611. For more details, please refer to [CVE-2017-7465](https://nvd.nist.gov/vuln/detail/CVE-2017-7465).
The text was updated successfully, but these errors were encountered: