CVE-2022-35740 Security feature bypass in n/a
Attackers can bypass access controls and view restricted content by using semicolons in URLs to evade path-based security filters in dotCMS.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-35740?
CVE-2022-35740 is a medium-severity vulnerability in Dotcms Dotcms, published on 10 Nov 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2022-35740?
It affects 1 product.
Products include Dotcms Dotcms.
How do I fix CVE-2022-35740?
No fix has been published for CVE-2022-35740 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-35740 being exploited?
There is no known exploitation of CVE-2022-35740 in the wild and no public exploit code.
Other vulnerabilities in Dotcms Dotcms
Sources
Also known as GHSA-qv8m-37rr-fj54.