Lucene search

K
cvelistHackeroneCVELIST:CVE-2023-27534
HistoryMar 30, 2023 - 12:00 a.m.

CVE-2023-27534

2023-03-3000:00:00
CWE-22
hackerone
www.cve.org
curl
sftp
path traversal
vulnerability
tilde character
filtering bypass
arbitrary code
crafted path
server access

9.2 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

51.8%

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.

CNA Affected

[
  {
    "vendor": "n/a",
    "product": "https://github.com/curl/curl",
    "versions": [
      {
        "version": "Fixed in 8.0.0",
        "status": "affected"
      }
    ]
  }
]