GO-2022-0619

vendorUSosv

Authorization bypass in github.com/emicklei/go-restful, go-restful/v2 and go-restful/v3

view advisory published 2022-08-15Licence: per source

CORS filters that use an AllowedDomains configuration parameter can match domains outside the specified set, permitting an attacker to avoid the CORS policy. The AllowedDomains configuration parameter is documented as a list of allowed origin domains, but values in this list are applied as regular expression matches. For example, an allowed domain of "example.com" will match the Origin header "example.com.malicious.domain".

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2022-1996UScritical9.1—
Authorization Bypass Through User-Controlled Key in GitHub repository emicklei/go-restful prior to v3.8.0.
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