PhpWiki: Remote execution of arbitrary code
Gentoo Linux Security Advisory
||GLSA 200705-16 / phpwiki
||May 17, 2007
||May 17, 2007: 01
All supported architectures
A vulnerability has been discovered in PhpWiki allowing for the remote
execution of arbitrary code.
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.
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"