Gentoo Logo

phpWebSite: Local file inclusion

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200605-04 / phpwebsite
Release Date May 02, 2006
Latest Revision May 02, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-apps/phpwebsite < 0.10.2 >= 0.10.2 All supported architectures

Related bugreports: #130295

Synopsis

Remote attackers can include local files which may lead to the execution of arbitrary code.

2.  Impact Information

Background

phpWebSite provides a complete web site content management system.

Description

rgod has reported that the "hub_dir" parameter in "index.php" isn't properly verified. When "magic_quotes_gpc" is disabled, this can be exploited to include arbitrary files from local ressources.

Impact

If "magic_quotes_gpc" is disabled, which is not the default on Gentoo Linux, a remote attacker could exploit this issue to include and execute PHP scripts from local ressources with the rights of the user running the web server, or to disclose sensitive information and potentially compromise a vulnerable system.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All phpWebSite users should upgrade to the latest available version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-apps/phpwebsite-0.10.2"

4.  References



Print

Page updated May 02, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.