CVE-2022-35740

dotCMS before 22.06 allows remote attackers to bypass intended access control and obtain sensitive information by using a semicolon in a URL to introduce a matrix parameter. (This is also fixed in 5.3.8.12, 21.06.9, and 22.03.2 for LTS users.) Some Java application frameworks, including those used by Spring or Tomcat, allow the use of matrix parameters: these are URI parameters separated by semicolons. Through precise semicolon placement in a URI, it is possible to exploit this feature to avoid dotCMS's path-based XSS prevention (such as "require login" filters), and consequently access restricted resources. For example, an attacker could place a semicolon immediately before a / character that separates elements of a filesystem path. This could reveal file content that is ordinarily only visible to signed-in users. This issue can be chained with other exploit code to achieve XSS attacks against dotCMS.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:dotcms:dotcms:*:*:*:*:lts:*:*:*
cpe:2.3:a:dotcms:dotcms:*:*:*:*:lts:*:*:*
cpe:2.3:a:dotcms:dotcms:*:*:*:*:*:*:*:*
cpe:2.3:a:dotcms:dotcms:*:*:*:*:lts:*:*:*

History

15 Nov 2022, 20:35

Type Values Removed Values Added
References (MISC) https://www.dotcms.com/security/SI-63 - (MISC) https://www.dotcms.com/security/SI-63 - Exploit, Mitigation, Vendor Advisory
References (MISC) https://github.com/dotCMS/patches-hotfixes/tree/master/com.dotcms.security.matrixparams - (MISC) https://github.com/dotCMS/patches-hotfixes/tree/master/com.dotcms.security.matrixparams - Exploit, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1
CWE CWE-79
First Time Dotcms dotcms
Dotcms
CPE cpe:2.3:a:dotcms:dotcms:*:*:*:*:lts:*:*:*
cpe:2.3:a:dotcms:dotcms:*:*:*:*:*:*:*:*

10 Nov 2022, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-11-10 21:15

Updated : 2023-12-10 14:35


NVD link : CVE-2022-35740

Mitre link : CVE-2022-35740

CVE.ORG link : CVE-2022-35740


JSON object : View

Products Affected

dotcms

  • dotcms
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')