phpWebSite index.php hub_dir file include

phpwebsite-index-hubdir-file-include (25867) The risk level is classified as MediumMedium Risk

Description:

phpWebSite could allow a remote attacker to include malicious PHP files. If magic_quotes_gpc is disabled, a remote attacker could send a specially-crafted URL request to the index.php script using the 'hub_dir' parameter to specify a malicious PHP file from a local system, which would allow the attacker to execute arbitrary code on the vulnerable system using the log file.


Consequences:

Gain Access

Remedy:

Apply the appropriate patch for your system. See References.

References:

  • phpWebSite Web site: phpWebSite.
  • BID-17521: PHPWebSite Config.PHP File Include Vulnerability
  • CVE-2006-1819: Directory traversal vulnerability in the loadConfig function in index.php in phpWebSite 0.10.2 and earlier allows remote attackers to include arbitrary local files and execute arbitrary PHP code via the hub_dir parameter, as demonstrated by including access_log. NOTE: in some cases, arbitrary remote file inclusion could be performed under PHP 5 using an SMB share argument such as \\systemname\sharename.
  • GLSA-200605-04: phpWebSite: Local file inclusion
  • SA19647: phpWebSite "hub_dir" Local File Inclusion Vulnerability
  • SECTRACK ID: 1015942: phpWebSite Include File Bug in `hub_dir` Parameter May Let Remote Users Execute Arbitrary Code
  • VUPEN/ADV-2006-1361: phpWebSite hub_dir Parameter Handling PHP File Inclusion Vulnerability

Platforms Affected:

  • Appalachian State University phpWebSite 0.10.2 and prior
  • Gentoo Linux

Reported:

Apr 14, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page