curl Leaks Netrc Password to Redirected Host
CVE-2025-0167 Published on February 5, 2025

netrc and default credential leak
When asked to use a `.netrc` file for credentials **and** to follow HTTP redirects, curl could leak the password used for the first host to the followed-to host under certain circumstances. This flaw only manifests itself if the netrc file has a `default` entry that omits both login and password. A rare circumstance.

NVD

Vulnerability Analysis

CVE-2025-0167 can be exploited with network access, requires user interaction. This vulnerability is consided to have a high level of attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2025-0167. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
HIGH
Privileges Required:
NONE
User Interaction:
REQUIRED
Scope:
CHANGED
Confidentiality Impact:
LOW
Integrity Impact:
NONE
Availability Impact:
NONE

Products Associated with CVE-2025-0167

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-0167 are published in these products:

 
 
 
 
 
 
 
 

Affected Versions

curl: Siemens RUGGEDCOM RST2428P: Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family: Siemens SCALANCE XCH328: Siemens SCALANCE XCM324: Siemens SCALANCE XCM328: Siemens SCALANCE XCM332: Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC): Siemens SCALANCE XRM334 (230 V AC, 12xFO): Siemens SCALANCE XRM334 (230 V AC, 8xFO): Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+): Siemens SCALANCE XRM334 (24 V DC, 12xFO): Siemens SCALANCE XRM334 (24 V DC, 8xFO): Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+): Siemens SCALANCE XRM334 (2x230 V AC, 12xFO): Siemens SCALANCE XRM334 (2x230 V AC, 8xFO): Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+): Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP: Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP: Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP: Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP: Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP:

Exploit Probability

EPSS
0.75%
Percentile
53.99%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.