The curl URL parser wrongly accepts percent-encoded URL separators like /when decoding the host name part of a URL, making it a different URL usingthe wrong host name when it is later retrieved.For example, a URL like http://example.com%2F127.0.0.1/
, would be allowed bythe parser and get transposed into http://example.com/127.0.0.1/
. This flawcan be used to circumvent filters, checks and more.
The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Curl | Haxx | 7.80.0 (including) | 7.83.1 (excluding) |
Curl | Ubuntu | devel | * |
Curl | Ubuntu | jammy | * |
Curl | Ubuntu | upstream | * |