n/a · Vulnerability
cve-program · CVE-2022-31259
PublishedThe 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).
Read the publisher's advisoryeuvd · EUVD-2022-5053
PublishedThe 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).
Read the publisher's advisorynvd · CVE-2022-31259
PublishedThe 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).
Read the publisher's advisoryosv · GHSA-qx32-f6g6-fcfr
PublishedThe 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).
Read the publisher's advisoryosv · GO-2022-0463
PublishedRoutes in the beego HTTP router can match unintended patterns. This overly-broad matching may permit an attacker to bypass access controls. For example, the pattern "/a/b/:name" can match the URL "/a.xml/b/". This may bypass access control applied to the prefix "/a/".
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2022-31259 · CVE overview and exploitation status
cve-program · CVE-2022-31259
- https://github.com/beego/beego/issues/4946
- https://beego.vip/
- https://github.com/beego/beego/tree/v2.0.2
- https://github.com/advisories/GHSA-qx32-f6g6-fcfr
euvd · EUVD-2022-5053
- https://github.com/beego/beego/issues/4946
- https://beego.vip/
- https://github.com/beego/beego/tree/v2.0.2
- https://github.com/advisories/GHSA-qx32-f6g6-fcfr
nvd · CVE-2022-31259
- https://beego.vip/
- https://github.com/advisories/GHSA-qx32-f6g6-fcfr
- https://github.com/beego/beego/issues/4946
- https://github.com/beego/beego/tree/v2.0.2
osv · GHSA-qx32-f6g6-fcfr
- https://nvd.nist.gov/vuln/detail/CVE-2022-31259
- https://github.com/beego/beego/issues/4946
- https://github.com/beego/beego/pull/4954
- https://github.com/beego/beego/pull/4958
- https://github.com/beego/beego/commit/228576173a236c81a2122923fcf8099ad294e009
- https://github.com/beego/beego/commit/64cf44d725c8cc35d782327d333df9cbeb1bf2dd
- https://github.com/advisories/GHSA-qx32-f6g6-fcfr
- https://github.com/beego/beego
- https://github.com/beego/beego/tree/v2.0.2
- https://pkg.go.dev/vuln/GO-2022-0463
osv · GO-2022-0463
Related changes
Linked by CVE identifierNo related changes are available here.