Path Traversal in SFTP QUOTE command leads to Arbitrary File Write and potential RCE
路径遍历 / Relative Path Traversal / #3293177
该报告还没有中文解读。
原文摘录
摘自原文(5873 字符中的一小部分)
Summary `libcurl` is vulnerable to a path traversal attack when processing SFTP `QUOTE` commands. The internal function `Curl_get_pathname` in `lib/vssh/curl_path.c` fails to sanitize user-provided paths for traversal sequences (`../`). An attacker who can control the SFTP `QUOTE` commands can …
原文中的代码
Dragon@DESKTOP-2CIPGDF MINGW64 /c/Users/Dragon/Desktop # curl -V curl 8.15.0 (Windows) libcurl/8.15.0 OpenSSL/3.5.0 zlib/1.3.1 brotli/1.1.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.5 libssh2/1.11.1 nghttp2/1.65.0 ngtcp2/1.13.0 nghttp3/1.10.1 Release-Date: 2025-07-16 Protocols: dict file ftp ftps gopher …
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @z1andr4g0n · 版权归作者与 curl 所有