User redirection via protocol-relative Location normalization
Published Aug 14, 2024 · Updated Aug 15, 2024
Open redirect in Pylons Project WebOb 1.8.7 and earlier allows remote attackers to redirect users via crafted relative Location values. The Response class's _make_location_absolute function passes a leading // value to urlparse.urljoin, which replaces the request host with an attacker-controlled authority. A consuming application must construct a redirect from an attacker-influenced nonabsolute Location, and a user must follow it; the result is navigation to an external site.
Summary
What happened
Open redirect in Pylons Project WebOb 1.8.7 and earlier allows remote attackers to redirect users via crafted relative Location values. The Response class's _make_location_absolute function passes a leading // value to urlparse.urljoin, which replaces the request host with an attacker-controlled authority. A consuming application must construct a redirect from an attacker-influenced nonabsolute Location, and a user must follow it; the result is navigation to an external site.
The record
- CVE
- CVE-2024-42353
- Published
- Aug 14, 2024
- Updated
- Aug 15, 2024
- Vendor
- Pylons Project
- Product
- WebOb
- Classifications
- CWE-601
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 14, 2024CVE publishedPublication date reported by the CVE source.
- Aug 15, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=<= 1.8.7
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-mg3v-6m49-jhp3 protocol-relative Location demonstrationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo