Credential leak when use two url

Disclosed: 2022-06-27 06:55:01 By liang1 To curl
Medium
Vulnerability Details
## Summary: Curl can leak user credentials if use two url. ## Steps To Reproduce: 1. curl -I -v -u aaa:bbb hackerone.com curl.se 2. the output is: > Connected to hackerone.com (104.16.100.52) port 80 (#0) > Server auth using Basic with user 'aaa' > HEAD / HTTP/1.1 > Host: hackerone.com > Authorization: Basic YWFhOmJiYg== > User-Agent: curl/7.83.1 > Accept: */* > Connection #0 to host hackerone.com left intact >Trying 151.101.65.91:80... > Connected to curl.se (151.101.65.91) port 80 (#1) >Server auth using Basic with user 'aaa' > HEAD / HTTP/1.1 > Host: curl.se > Authorization: Basic YWFhOmJiYg== > User-Agent: curl/7.83.1 > Accept: */* 3. from the output we can see, the second url get the same credentials ## Impact Leak of confidential information (user credential)
Actions
View on HackerOne
Report Stats
  • Report ID: 1569926
  • State: Closed
  • Substate: not-applicable
  • Upvotes: 3
Share this report