CVE-2022-31259Critical· 9.8▾ MidnightAccess control bypass in beego
▾ Midnight zone — Critical, or high with PoC / in-the-wild
impact 53.9 · likelihood 4.4 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 9.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
22%
22% → 22%
The route lookup process in beego prior to 1.12.9 and 2.x prior to 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).
github.com/beego/beego/v2 < 2.0.3github.com/beego/beego < 1.12.9Upgrade to a patched release:
github.com/beego/beego/v2 2.0.3github.com/beego/beego 1.12.9Connected by shared product, vendor, weakness, or advisory.