phpWebSite: Arbitrary PHP execution and path disclosure
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200503-04 / phpwebsite |
| Release Date |
March 01, 2005 |
| Latest Revision |
May 22, 2006: 02 |
| Impact |
high |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| www-apps/phpwebsite |
<
0.10.0-r2 |
>=
0.10.0-r2 |
All supported architectures
|
Related bugreports:
#83297
Synopsis
Remote attackers can upload and execute arbitrary PHP scripts, another flaw
reveals the full path of scripts.
2.
Impact Information
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.
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.0-r2"
|
4.
References
|