CVE-2022-31259
Last modified
CVE-2022-31259 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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).. EPSS estimates a 21.57% chance of exploitation in the next 30 days.
Description
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).
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Beego | Beego | <= 1.12.4 |
| Beego | Beego | >= 2.0.0, <= 2.0.2 |
References
- https://beego.vipProduct
- https://github.com/beego/beego/issues/4946Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/beego/beego/tree/v2.0.2Release Notes, Third Party Advisory
- https://beego.vipProduct
- https://github.com/beego/beego/issues/4946Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/beego/beego/tree/v2.0.2Release Notes, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31259?
How severe is CVE-2022-31259?
How do I fix CVE-2022-31259?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-31253A Untrusted Search Path vulnerability in openldap2 of openSU…7.8
- CVE-2022-31254A Incorrect Default Permissions vulnerability in rmt-server-…7.8
- CVE-2022-31255An Improper Limitation of a Pathname to a Restricted Directo…4.3
- CVE-2022-31256A Improper Link Resolution Before File Access ('Link Followi…7.8
- CVE-2022-31257A vulnerability has been identified in Mendix Applications u…7.5
- CVE-2022-31258In Checkmk before 1.6.0p29, 2.x before 2.0.0p25, and 2.1.x b…6.7
- CVE-2022-3126The Frontend File Manager Plugin WordPress plugin before 21.…4.3
- CVE-2022-31260In Montala ResourceSpace through 9.8 before r19636, csv_expo…6.5
- CVE-2022-31261An XXE issue was discovered in Morpheus through 5.2.16 and 5…7.5
- CVE-2022-31262An exploitable local privilege escalation vulnerability exis…7.8
- CVE-2022-31263app/models/user.rb in Mastodon before 3.5.0 allows a bypass …5.3
- CVE-2022-31264Solana solana_rbpf before 0.2.29 has an addition integer ove…7.5
Are you affected by CVE-2022-31259?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
