CVE-2022-35740

Source
https://cve.org/CVERecord?id=CVE-2022-35740
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35740.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-35740
Published
2022-11-10T21:15:10.230Z
Modified
2026-03-14T11:48:55.823482Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/dotcms/core

Affected ranges

Type
GIT
Repo
https://github.com/dotcms/core
Events
Database specific
{
    "versions": [
        {
            "introduced": "22.01"
        },
        {
            "fixed": "22.06"
        },
        {
            "introduced": "22.03"
        },
        {
            "fixed": "22.03.2"
        }
    ]
}

Affected versions

v22.*
v22.03
v22.03.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35740.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "5.3.8"
            },
            {
                "fixed": "5.3.8.12"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "21.06"
            },
            {
                "fixed": "21.06.9"
            }
        ]
    }
]