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.6th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 97.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.222 · newest: 0.222 · change: 0.000
Affected products
Public proof-of-concept exploits
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
Frequently asked questions
- What is CVE-2022-31259?
- CVE-2022-31259 is a critical-severity vulnerability in Beego. CVSS score: 9.8/10. Published 2022-05-21.
- How severe is CVE-2022-31259?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2022-31259 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.