~ / search / GHSA-qx32-f6g6-fcfr

GHSA-qx32-f6g6-fcfr

Access control bypass in beego

Source: GitHub Advisory Database (reviewed) Critical CVE-2022-31259

Packages

EcosystemPackageAffectedFixed in
Go github.com/beego/beego/v2 < 2.0.3 2.0.3
Go github.com/beego/beego < 1.12.9 1.12.9

Details

As written in the advisory (Markdown source, shown as plain text).

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).

References

External links from the advisory. They lead to third-party sites.