Vulnerability Details : 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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2022-35740
- cpe:2.3:a:dotcms:dotcms:*:*:*:*:*:*:*:*
- cpe:2.3:a:dotcms:dotcms:*:*:*:*:lts:*:*:*
- cpe:2.3:a:dotcms:dotcms:*:*:*:*:lts:*:*:*
- cpe:2.3:a:dotcms:dotcms:*:*:*:*:lts:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-35740
0.14%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 50 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-35740
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST |
CWE ids for CVE-2022-35740
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-35740
-
https://www.dotcms.com/security/SI-63
Matrix URI parameters can expose private assets | dotCMSExploit;Mitigation;Vendor Advisory
-
https://github.com/dotCMS/patches-hotfixes/tree/master/com.dotcms.security.matrixparams
patches-hotfixes/com.dotcms.security.matrixparams at master · dotCMS/patches-hotfixes · GitHubExploit;Third Party Advisory
Jump to