Bug 1221456 - VUL-0: CVE-2024-28849: velociraptor: follow-redirects: possible credential leak
Summary: VUL-0: CVE-2024-28849: velociraptor: follow-redirects: possible credential leak
Status: IN_PROGRESS
Alias: None
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Antonio Teixeira
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/397689/
Whiteboard:
Keywords:
Depends on:
Blocks: CVE-2024-28849
  Show dependency treegraph
 
Reported: 2024-03-15 09:46 UTC by Andrea Mattiazzo
Modified: 2024-04-19 11:42 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Mattiazzo 2024-03-15 09:46:26 UTC
follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. In affected versions follow-redirects only clears authorization header during cross-domain redirect, but keep the proxy-authentication header which contains credentials too. This vulnerability may lead to credentials leak, but has been addressed in version 1.15.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-28849
https://www.cve.org/CVERecord?id=CVE-2024-28849
https://fetch.spec.whatwg.org/#authentication-entries
https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-cxjh-pqwp-8mfp
https://github.com/psf/requests/issues/1885
https://hackerone.com/reports/2390009
https://bugzilla.redhat.com/show_bug.cgi?id=2269576

Patch:
https://github.com/follow-redirects/follow-redirects/commit/c4f847f85176991f95ab9c88af63b1294de8649b
Comment 1 Andrea Mattiazzo 2024-03-15 09:47:53 UTC
A vulnerable version of follow-redirects was found inside velociraptor:

openSUSE:Factory/velociraptor                follow-redirects (1.15.0)
SUSE:ALP:Source:Standard:1.0/velociraptor    follow-redirects (1.15.0)
Comment 3 Antonio Teixeira 2024-04-19 11:42:25 UTC
I added a patch to fix this to the Factory package as part of this:
https://build.opensuse.org/request/show/1165646
(There are many changes. For the relevant patch see CVE-2024-28849-follow-redirects-drop-proxy-authorization.patch)

Fix has been sent to ALP codestream in request 327528