CVE-2025-0167
LOW(3.4)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
Erwähnungen (letzte 60 Tage)
EPSS-Score
0.7%
Exploit-Wahrscheinlichkeit (30 Tage)
CVSS Score
3.4
Technische Schwere
Beschreibung
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.
Erkennung & Indikatoren
Ausnutzung
In den geprüften Quellen nicht genannt
Behobene Versionen
- curl 8.12.0
- libcurl 8.12.0
Threat-Hunting-Queries
Detection for this vulnerability would involve monitoring for curl commands that use both a .netrc file for credentials and follow HTTP redirects, especially when the .netrc file contains a 'default' entry without login and password. This is a rare circumstance and might require deep packet inspection or command-line argument logging.
Sentinel/Defender KQL
DeviceProcessEvents
| where InitiatingProcessCommandLine contains ".netrc" and InitiatingProcessCommandLine contains "--location" or InitiatingProcessCommandLine contains "-L"Splunk SPL
index=* (sourcetype=linux_audit OR sourcetype=syslog) (cmd="curl" OR process="curl") ("--netrc" OR "--netrc-file" OR "-n") ("--location" OR "-L")Sigma
title: Curl Netrc Redirect Leak
status: experimental
description: Detects curl commands that might be vulnerable to CVE-2025-0167 by using .netrc and following redirects.
logsource:
category: process_creation
product: linux
detection:
selection:
Image|endswith: '\curl'
CommandLine|contains_all:
- '.netrc'
- '-L'
condition: selection
fields:
- CommandLine
- User
level: lowElastic ES|QL
from process where process.name == "curl" and process.args contains ".netrc" and (process.args contains "-L" or process.args contains "--location")SecBoard-generated · behavioral · requires customization — Von SecBoard erzeugt und nicht in einer Zielumgebung validiert. Vor dem Einsatz an die eigene Protokollierung anpassen.
Betroffene Produkte
- cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h615c_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h610s_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h610c_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:element_software:-:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:ontap:9:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:ontap_tools:9:*:*:*:*:vmware_vsphere:*:*
- cpe:2.3:a:netapp:solidfire_\&_hci_management_node:-:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:solidfire_\&_hci_storage_node:-:*:*:*:*:*:*:*
Referenzen
- https://curl.se/docs/CVE-2025-0167.html
- https://curl.se/docs/CVE-2025-0167.json
- https://hackerone.com/reports/2917232
- https://security.netapp.com/advisory/ntap-20250306-0008/
- https://cert-portal.siemens.com/productcert/html/ssa-089022.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://curl.se/docs/CVE-2025-0167.html