Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-31259 EUVD-2022-5053GHSA-qx32-f6g6-fcfrGO-2022-0463

Access control bypass in beego

Published May 21, 2022 · Updated Aug 3, 2024 · Assigned by mitre

Description

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

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/astaxie/beego all versions — GO-2022-0463
Go github.com/beego/beego < 1.12.9 1.12.9 GHSA-qx32-f6g6-fcfr
Go github.com/beego/beego/v2 < 2.0.3 2.0.3 GHSA-qx32-f6g6-fcfr

References