CVE-2024-42353: WebOb - Open Redirect
- Cve: CVE-2024-42353
- Name: WebOb - Open Redirect
- Description: 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.
- Impact: Attackers can manipulate redirect URLs, potentially leading to open redirect or malicious URL injection.
- Remediation: Update to WebOb version 1.8.8 or later.
- Vulnerability type: open_redirect
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00569
- Epss percentile: 0.48012
- Assignee: [email protected]
- Published at: 2024-08-14T21:15:17Z
- Age in days: 832
- Modified at: 2026-06-17T07:49:18Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-42353
- Nvd status: analyzed
- Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-601 | URL Redirection to Untrusted Site |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3 | nvd | 2024-08-14 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/Pylons/webob/commit/f689bcf4f0a1f64f1735b1d5069aef5be6974b5b | nvd | Patch |
| https://github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3 | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| pylonsproject:webob | < 1.8.8 | no | nvd | /v1/products/pylonsproject/webob |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pylons/webob | commit, fix, package, security_advisory | yes | /v1/repositories/pylons/webob |
Index
- Repositories: 49
- Repositories high signal: 27
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-08-14
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts