GLSA-200503-04 : phpWebSite: Arbitrary PHP execution and path disclosure

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200503-04
(phpWebSite: Arbitrary PHP execution and path disclosure)

NST discovered that, when submitting an announcement, uploaded files
aren't correctly checked for malicious code. They also found out that
phpWebSite is vulnerable to a path disclosure.

Impact :

A remote attacker can exploit this issue to upload files to a directory
within the web root. By calling the uploaded script the attacker could
then execute arbitrary PHP code with the rights of the web server. By
passing specially crafted requests to the search module, remote
attackers can also find out the full path of PHP scripts.

Workaround :

There is no known workaround at this time.

See also :

http://secunia.com/advisories/14399/
http://www.nessus.org/u?13948819
http://www.gentoo.org/security/en/glsa/glsa-200503-04.xml

Solution :

All phpWebSite users should upgrade to the latest available version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=www-apps/phpwebsite-0.10.0-r2'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 17251 (gentoo_GLSA-200503-04.nasl)

Bugtraq ID:

CVE ID: CVE-2005-0565
CVE-2005-0572