curl proceeds with unsafe connections when -K file can't be read
其他弱点 / Improper Check or Handling of Exceptional Conditions / #1542881
该报告还没有中文解读。
原文摘录
摘自原文(8973 字符中的一小部分)
Summary: I'm using curl 7.82.0 on Linux. When the file specified by the -K option can't be read, curl sends network traffic as specified by the other options that are explicitly included on the command line (in other words, there's only a warning and I'd like it to be a fatal error). This behavior …
原文中的代码
% ssh -F /home/user/my-safe-ssh-options/not-exist.config example.com Can't open user config file /home/user/my-safe-ssh-options/not-exist.config: No such file or directory % tar -X /home/user/list-of-my-private-key-files/not-exist.config -c -f public.tar . tar: …
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @medianmedianstride · 版权归作者与 curl 所有