Malicious server forces .curlrc creation via curl -OJ leading to local file exfiltration
该报告还没有中文解读。
原文摘录
摘自原文(1876 字符中的一小部分)
Summary: When a user runs `curl -OJ <url>`, a malicious server can force the response to be saved as `.curlrc` in the working directory. If the user executes the download from their home directory (a common workflow), the attacker overwrites `~/.curlrc`. Subsequent `curl` invocations automatically …
原文中的代码
djamelghorab@DESKTOP-VUFM4GM:~$ curl -V curl 8.5.0 (x86_64-pc-linux-gnu) libcurl/8.5.0 OpenSSL/3.0.13 zlib/1.3 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 (+libidn2/2.3.7) libssh/0.10.6/openssl/zlib nghttp2/1.59.0 librtmp/2.3 OpenLDAP/2.6.7 Release-Date: 2023-12-06, security patched: …
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @djogho · 版权归作者与 curl 所有