Description
A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be wrongly replaced when used as a prefix in the first path element, in addition to its intended use as the first element to indicate a path relative to the user's home directory. Attackers can exploit this flaw to bypass filtering or execute arbitrary code by crafting a path like /~2/foo while accessing a server with a specific user.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected products
- Broadcom / brocade_fabric_operating_system_firmware
- fedoraproject / fedora36 – 36
- haxx / curl7.18.0 – 7.88.1
- NetApp / active_iq_unified_manager
- NetApp / h300s_firmware
- NetApp / h410s_firmware
- NetApp / h500s_firmware
- NetApp / h700s_firmware
- Splunk / Universal Forwarder8.2.0 – 8.2.12
- Splunk / Universal Forwarder9.1.0 – 9.1.0
References
- MISChttps://hackerone.com/reports/1892351
- MAILING_LISThttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36NBD5YLJXXEDZLDGNFCERWRYJQ6LAQW/
- MISChttps://security.netapp.com/advisory/ntap-20230420-0012/
- MISChttps://security.gentoo.org/glsa/202310-12
- MAILING_LISThttps://lists.debian.org/debian-lts-announce/2024/03/msg00016.html
Updated 16m ago · 8 sources