Vulnerability Details : CVE-2022-31259
Potential exploit
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).
Products affected by CVE-2022-31259
- cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*
- cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-31259
0.14%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 31 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-31259
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
References for CVE-2022-31259
-
https://github.com/advisories/GHSA-qx32-f6g6-fcfr
Access control bypass in beego · CVE-2022-31259 · GitHub Advisory Database · GitHub
-
https://github.com/beego/beego/tree/v2.0.2
GitHub - beego/beego at v2.0.2Release Notes;Third Party Advisory
-
https://github.com/beego/beego/issues/4946
router "/aa/:name" can match "/aa.xml/aa.xml" · Issue #4946 · beego/beego · GitHubExploit;Issue Tracking;Patch;Third Party Advisory
-
https://beego.vip
Homepage - beego: simple & powerful Go app frameworkProduct
Jump to