CVE-2022-31259
Critical
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).
SeverityCritical
CVSS9.8
Exploit probability—
ProductBeego
PublishedMay 21, 2022
First seenMay 21, 2022
How to fix
Update
- github.com/beego/beego/v22.0.3 or later
- github.com/beego/beego1.12.9 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| beego beego | v ≤ 1.12.4, 2.0.0 ≤ v ≤ 2.0.2 | — |
| github.com/beego/beego/v2Go | v < 2.0.3 | 2.0.3 |
| github.com/beego/beegoGo | v < 1.12.9 | 1.12.9 |
| github.com/astaxie/beegoGo | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.