CVE-2024-1968
Last modified
CVE-2024-1968 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. In scrapy/scrapy, an issue was identified where the Authorization header is not removed during redirects that only change the scheme (e.g., HTTPS to HTTP) but remain within the same domain. This behavior contravenes the Fetch standard, which mandates the removal of Authorization headers in cross-origin requests when the scheme, host, or port changes. EPSS estimates a 0.68% chance of exploitation in the next 30 days.
Description
In scrapy/scrapy, an issue was identified where the Authorization header is not removed during redirects that only change the scheme (e.g., HTTPS to HTTP) but remain within the same domain. This behavior contravenes the Fetch standard, which mandates the removal of Authorization headers in cross-origin requests when the scheme, host, or port changes. Consequently, when a redirect downgrades from HTTPS to HTTP, the Authorization header may be inadvertently exposed in plaintext, leading to potential sensitive information disclosure to unauthorized actors. The flaw is located in the _build_redirect_request function of the redirect middleware.
Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Scrapy | Scrapy | <= 1.8.4 |
| Scrapy | Scrapy | >= 2.0.0, < 2.11.2 |
References
- https://huntr.com/bounties/27f6a021-a891-446a-ada5-0226d619dd1aExploit, Third Party Advisory
- https://huntr.com/bounties/27f6a021-a891-446a-ada5-0226d619dd1aExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-1968?
How severe is CVE-2024-1968?
How do I fix CVE-2024-1968?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-1960The ShopLentor – WooCommerce Builder for Elementor & Gutenbe…5.4
- CVE-2024-1961vertaai/modeldb is vulnerable to a path traversal attack due…8.8
- CVE-2024-1962The CM Download Manager WordPress plugin before 2.9.1 does …8.8
- CVE-2024-1963An issue has been discovered in GitLab CE/EE affecting all v…6.5
- CVE-2024-1964Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-1965Server-Side Request Forgery vulnerability in Haivision's Avi…5.3
- CVE-2024-1969Buffer Copy without Checking Size of Input ('Classic Buffer …8.2
- CVE-2024-1970A vulnerability, which was classified as problematic, was fo…6.1
- CVE-2024-1971A vulnerability has been found in Surya2Developer Online Sho…9.8
- CVE-2024-1972A vulnerability was found in SourceCodester Online Job Porta…5.4
- CVE-2024-1973By leveraging the vulnerability, lower-privileged users of C…8.5
- CVE-2024-1974The HT Mega – Absolute Addons For Elementor plugin for WordP…6.5
Are you affected by CVE-2024-1968?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
