GO-2022-0463

vendorUSosv

Access control bypass due to broad route matching in github.com/beego/beego and beego/v2

view advisory published 2022-07-01Licence: per source

Routes in the beego HTTP router can match unintended patterns. This overly-broad matching may permit an attacker to bypass access controls. For example, the pattern "/a/b/:name" can match the URL "/a.xml/b/". This may bypass access control applied to the prefix "/a/".

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2022-31259UScritical9.8—
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…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan