Vulnerability in Beego
CVE-2022-31259
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).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.222, 97.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, runner361/CVE-List). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/beego/beego/issues/4946 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- beego.vip (Product)
- github.com/beego/beego/tree/v2.0.2 (Third Party Advisory, Release Notes)
- github.com/advisories/GHSA-qx32-f6g6-fcfr