phpWebSite: Arbitrary PHP execution and path disclosure

2005-03-01T00:00:00
ID GLSA-200503-04
Type gentoo
Reporter Gentoo Foundation
Modified 2006-05-22T00:00:00

Description

Background

phpWebSite provides a complete web site content management system.

Description

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.

Resolution

All phpWebSite users should upgrade to the latest available version:

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