CVE-2022-31259

Source
https://cve.org/CVERecord?id=CVE-2022-31259
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-31259.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-31259
Aliases
Related
Published
2022-05-21T19:15:52.990Z
Modified
2026-03-14T22:47:48.377922Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The route lookup process in beego before 1.12.9 and 2.x before 2.0.3 allows attackers to bypass access control. When a /p1/p2/:name route is configured, attackers can access it by appending .xml in various places (e.g., p1.xml instead of p1).

References

Affected packages

Git / github.com/beego/beego

Affected ranges

Type
GIT
Repo
https://github.com/beego/beego
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.12.4"
        },
        {
            "introduced": "2.0.0"
        },
        {
            "last_affected": "2.0.2"
        }
    ]
}

Affected versions

v2.*
v2.0.0
v2.0.1
v2.0.2
v2.0.2-beta.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-31259.json"