Read-Only user can execute arbitraty shell commands on AirOS
该报告还没有中文解读。
原文摘录
摘自原文(1836 字符中的一小部分)
This issue is similar to #119317, but happen on the server side data (actionRemote).
原文中的代码
Function parseHeaders $headers
(
global $session_key, $session_value;
$cookie_regex = "^Set-Cookie: ([AIROS_[:print:]]+)=([[:alnum:]]{32});";
$i = 0;
while ($i < count($headers)) {
if (ereg($cookie_regex, $headers[$i], $regs)) {
$session_key = $regs[1]; //code injection in this variable …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Ubiquiti Inc. 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @rbran · 版权归作者与 Ubiquiti Inc. 所有