CVE-2022-31259
CRITICAL9.8EPSS 0.15%Access control bypass in beego
發布日:2022/5/22修改日:2026/3/13
描述
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).
受影響套件(5)
- Go/github.com/astaxie/beegofrom 0
- Go/github.com/beego/beegofrom 0, < 1.12.9
- Go/github.com/beego/beegofrom 0, < 1.12.9
- Go/github.com/beego/beego/v2from 0, < 2.0.3
- Go/github.com/beego/beego/v2from 0, < 2.0.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(10)
- ADVISORYhttps://github.com/advisories/GHSA-qx32-f6g6-fcfr
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-31259
- PATCHhttps://github.com/beego/beego
- WEBhttps://github.com/beego/beego/commit/228576173a236c81a2122923fcf8099ad294e009
- WEBhttps://github.com/beego/beego/commit/64cf44d725c8cc35d782327d333df9cbeb1bf2dd
- WEBhttps://github.com/beego/beego/issues/4946
- WEBhttps://github.com/beego/beego/pull/4954
- WEBhttps://github.com/beego/beego/pull/4958
- WEBhttps://github.com/beego/beego/tree/v2.0.2
- WEBhttps://pkg.go.dev/vuln/GO-2022-0463