Bug 1751257

Summary: wget: HTTP authentication leak in redirects
Product: [Other] Security Response Reporter: Cedric Buissart <cbuissar>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: cbuissar, karsten, rblakley, security-response-team, thozza
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-14 07:52:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1751166    

Description Cedric Buissart 2019-09-11 14:14:49 UTC
wget is affected by a behavior similar to CVE-2018-1000007 (curl) : when given a `Authorization` header, wget will reuse it by default on the 2nd server if the first replies with a 3xx redirect.
This possibly mean a leak of credentials to the 2nd server.

Note: this does not happen when username/password are provided using the regular options (e.g.: --user & --password)

Comment 3 Cedric Buissart 2019-09-17 09:18:06 UTC
Acknowledgments:

Name: Ryan Blakley

Comment 7 Cedric Buissart 2019-10-14 07:53:53 UTC
Per upstream bug report, https://savannah.gnu.org/bugs/?56909, no change is currently planned in wget.