Gentoo Logo

PhpWiki: Remote execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200705-16 / phpwiki
Release Date May 17, 2007
Latest Revision May 17, 2007: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-apps/phpwiki < 1.3.10-r3 >= 1.3.10-r3 All supported architectures

Related bugreports: #174451


A vulnerability has been discovered in PhpWiki allowing for the remote execution of arbitrary code.

2.  Impact Information


PhpWiki is an open source content management system written in PHP.


Harold Hallikainen has reported that the Upload page fails to properly check the extension of a file.


A remote attacker could upload a specially crafted PHP file to the vulnerable server, resulting in the execution of arbitrary PHP code with the privileges of the user running PhpWiki.

3.  Resolution Information


There is no known workaround at this time.


All PhpWiki users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-apps/phpwiki-1.3.10-r3"

4.  References


Page updated May 17, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

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