Open Redirect in Pylons Webob
CVE-2024-42353
WebOb provides objects for HTTP requests and responses. When WebOb normalizes the HTTP Location header to include the request hostname, it does so by parsing the URL that the user is to be redirected to with Python's urlparse, and joining it to the base URL. `urlparse` however treats a `//` at the start of a string as a URI without a scheme, and then treats the next part as the hostname. `urljoin` will then use that hostname from the second part as the hostname replacing the original one from the request. This vulnerability is patched in WebOb version 1.8.8.
Vulnerability class: Open Redirect
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.006, 47.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Pylons Webob — versions <= 1.8.7
- Pylonsproject Webob
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (haiyen11231/automation-tool-for-patch-backporting). These reference the CVE in a list, notes or a scanner and are not exploit code for it.