Closed
Description
CVE-2022-31259 references github.com/beego/beego, which may be a Go module.
Description:
The route lookup process in beego through 1.12.4 and 2.x through 2.0.2 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).
Links:
- NIST: https://nvd.nist.gov/vuln/detail/CVE-2022-31259
- JSON: https://github.com/CVEProject/cvelist/tree/a88894d2220b3e1e45922f3213b8812c526e0e6c/2022/31xxx/CVE-2022-31259.json
- https://beego.vip
- router "/aa/:name" can match "/aa.xml/aa.xml" beego/beego#4946
- https://github.com/beego/beego/tree/v2.0.2
See doc/triage.md for instructions on how to triage this report.
module: github.com/beego/beego
package: n/a
description: |
The route lookup process in beego through 1.12.4 and 2.x through 2.0.2 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).
cves:
- CVE-2022-31259
links:
context:
- https://beego.vip
- https://github.com/beego/beego/issues/4946
- https://github.com/beego/beego/tree/v2.0.2