Date: Tue, 01 Mar 2005 22:57:03 +0100
From: Thierry Carrez <koon@gentoo.org.>
To: [email protected]Subject: [ GLSA 200503-04 ] phpWebSite: Arbitrary PHP execution and path disclosure
X-Enigmail-Version: 0.89.5.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enig430D95370FB5F43B3A2E9693"
X-Virus-Scanned: antivirus-gw at tyumen.ru
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig430D95370FB5F43B3A2E9693
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200503-04
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: phpWebSite: Arbitrary PHP execution and path disclosure
Date: March 01, 2005
Bugs: #83297
ID: 200503-04
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
Remote attackers can upload and execute arbitrary PHP scripts, another
flaw reveals the full path of scripts.
Background
==========
phpWebSite provides a complete web site content management system.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 www-apps/phpwebsite < 0.10.0-r2 >= 0.10.0-r2
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"
References
==========
[ 1 ] Secunia Advisory SA14399
http://secunia.com/advisories/14399/
[ 2 ] phpWebSite announcement
http://phpwebsite.appstate.edu/index.php?module=announce&ANN_id=922&ANN_user_op=view
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200503-04.xml
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.0
--------------enig430D95370FB5F43B3A2E9693
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCJOU0vcL1obalX08RAruoAKCfQneVdT/6wbQ6xctX6/m0+fts2wCgqayX
Cow3Sf99FAyNjU45XALtbfY=
=hZ6p
-----END PGP SIGNATURE-----
--------------enig430D95370FB5F43B3A2E9693--