ADVISORIES

GitHub Advisory Database

GHSA-qx32-f6g6-fcfr

Access control bypass in beego

Details

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

Affected packages

EcosystemPackageAffected versions
Gogithub.com/beego/beego/v2
All versions before 2.0.3 (fixed in 2.0.3)
Gogithub.com/beego/beego
All versions before 1.12.9 (fixed in 1.12.9)

References