veraPDF / veraPDF-library

Industry supported, open source PDF/A validation library
http://verapdf.org/software
GNU General Public License v3.0
268 stars 48 forks source link

veraPDF has an XSLT injection vulnerability. #1415

Closed c1gar closed 3 months ago

c1gar commented 5 months ago

The issue occurs when clicking the execution button, where users can drag and drop policy files into the area where a policy file is not chosen. These policy files are user-controllable, and during the validation of configuration files, an XSL transformation operation is performed. The XSL file used for this operation is uploaded by the user. Due to veraPDF not setting secure parameters during XSL transformation, this could potentially lead to a remote code execution (RCE) vulnerability. 1111 test.xsl `

` ![Uploading 222).PNG…]()
bdoubrov commented 5 months ago

@c1gar thanks a lot for pointing us to this issue. To be fixed asap

c1gar commented 5 months ago

@c1gar非常感谢您向我们指出这个问题。尽快修复 Thank you for your response. Can you assign a CVE identifier? Assigning a CVE is an encouragement for me to explore the risks of the veraPDF project. I would be very happy if you could assign a CVE identifier.

carlwilson commented 5 months ago

Thank you for your response. Can you assign a CVE identifier? Assigning a CVE is an encouragement for me to explore the risks of the veraPDF project. I would be very happy if you could assign a CVE identifier.

We have filled in the appropriate application and submitted a request that is awaiting review. You are credited as the reporter. We will publish as and when the review process allows. Thanks for reporting this.

bdoubrov commented 3 months ago

The vulnerability is fixed both in 1.24 patch and in the latest 1.26 release. Closing this as done