Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1xeDMyLWY2ZzYtZmNmcs4AAgdC
Access control bypass in beego
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).
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xeDMyLWY2ZzYtZmNmcs4AAgdC
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: almost 2 years ago
Updated: 8 months ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-qx32-f6g6-fcfr, CVE-2022-31259
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-31259
- https://github.com/beego/beego/issues/4946
- https://github.com/beego/beego/tree/v2.0.2
- https://github.com/beego/beego/pull/4958
- https://github.com/beego/beego/pull/4954
- https://github.com/beego/beego/commit/228576173a236c81a2122923fcf8099ad294e009
- https://github.com/beego/beego/commit/64cf44d725c8cc35d782327d333df9cbeb1bf2dd
- https://pkg.go.dev/vuln/GO-2022-0463
- https://github.com/advisories/GHSA-qx32-f6g6-fcfr
Blast Radius: 25.4
Affected Packages
go:github.com/beego/beego
Dependent packages: 23Dependent repositories: 83
Downloads:
Affected Version Ranges: < 1.12.9
Fixed in: 1.12.9
All affected versions: 0.6.0, 0.7.0, 0.8.0, 0.9.0, 1.0.1, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.6.0, 1.6.1, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.9.0, 1.9.2, 1.10.0, 1.10.1, 1.11.0, 1.11.1, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8
All unaffected versions: 1.12.9, 1.12.10, 1.12.11, 1.12.12
go:github.com/beego/beego/v2
Dependent packages: 252Dependent repositories: 395
Downloads:
Affected Version Ranges: < 2.0.3
Fixed in: 2.0.3
All affected versions: 2.0.0, 2.0.1, 2.0.2
All unaffected versions: 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5