Auth bypass in Haxx Libcurl
CVE-2023-27535
An authentication bypass vulnerability exists in libcurl <8.0.0 in the FTP connection reuse feature that can result in wrong credentials being used during subsequent transfers. Previously created connections are kept in a connection pool for reuse if they match the current setup. However, certain FTP settings such as CURLOPT_FTP_ACCOUNT, CURLOPT_FTP_ALTERNATIVE_TO_USER, CURLOPT_FTP_SSL_CCC, and CURLOPT_USE_SSL were not included in the configuration match checks, causing them to match too easily. This could lead to libcurl using the wrong credentials when performing a transfer, potentially allowing unauthorized access to sensitive information.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.018, 78.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (1g-v/DevSec_Docker_lab, fkie-cad/nvd-json-data-feeds, fokypoky/places-list, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hackerone.com/reports/1892780 (Exploit, Third Party Advisory)
- FEDORA-2023-7e7414e64d (vendor-advisory, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20230420-0010/ (Third Party Advisory)
- [debian-lts-announce] 20230421 [SECURITY] [DLA 3398-1] curl security update (mailing-list, Mailing List, Third Party Advisory)
- GLSA-202310-12 (vendor-advisory, Third Party Advisory)
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com/productcert/html/ssa-806742.html
- cert-portal.siemens.com/productcert/html/ssa-943925.html