Skip to content

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...

MediumCVSS 6.1 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
dotCMS >= 5.3.8, < 5.3.8.12; >= 21.06, < 21.06.9; >= 22.01, < 22.06; >= 22.03, < 22.03.2 5.3.8.12, 21.06.9, 22.03.2, 22.06 Fixed

Affected products

ProductAffected versionsFixed in
dotCMS >= 5.3.8, < 5.3.8.12 5.3.8.12
dotCMS >= 21.06, < 21.06.9 21.06.9
dotCMS >= 22.01, < 22.06 22.06
dotCMS >= 22.03, < 22.03.2 22.03.2

References