CVE-2022-31259

CRITICAL

beego <1.12.9, 2.x <2.0.3 - Auth Bypass

Title source: llm
STIX 2.1

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

References (4)

Core 4
Core References
Exploit, Issue Tracking, Patch, Third Party Advisory
https://github.com/beego/beego/issues/4946
Release Notes, Third Party Advisory
https://github.com/beego/beego/tree/v2.0.2

Scores

CVSS v3 9.8
EPSS 0.2157
EPSS Percentile 97.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

Status published
Products (3)
beego/beego < 1.12.4
beego/beego 0 - 1.12.9Go
beego/beego 0 - 2.0.3Go
Published May 21, 2022
Tracked Since Feb 18, 2026