mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-30 18:56:19 +00:00
20 lines
965 B
Markdown
20 lines
965 B
Markdown
|
|
### [CVE-2019-25211](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-25211)
|
||
|
|

|
||
|
|

|
||
|
|

|
||
|
|

|
||
|
|
|
||
|
|
### Description
|
||
|
|
|
||
|
|
parseWildcardRules in Gin-Gonic CORS middleware before 1.6.0 mishandles a wildcard at the end of an origin string, e.g., https://example.community/* is allowed when the intention is that only https://example.com/* should be allowed, and http://localhost.example.com/* is allowed when the intention is that only http://localhost/* should be allowed.
|
||
|
|
|
||
|
|
### POC
|
||
|
|
|
||
|
|
#### Reference
|
||
|
|
- https://github.com/gin-contrib/cors/pull/57
|
||
|
|
|
||
|
|
#### Github
|
||
|
|
- https://github.com/kaisensan/desafio-girus-pick
|
||
|
|
- https://github.com/w4zu/Debian_security
|
||
|
|
|