Gentoo Logo

PhpWiki: Arbitrary command execution through XML-RPC


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200508-18 / phpwiki
Release Date August 26, 2005
Latest Revision August 26, 2005: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-apps/phpwiki < 1.3.10-r2 >= 1.3.10-r2 All supported architectures

Related bugreports: #102380


PhpWiki includes PHP XML-RPC code which is vulnerable to arbitrary command execution.

2.  Impact Information


PhpWiki is an application that creates a web site where anyone can edit the pages through HTML forms.


Earlier versions of PhpWiki contain an XML-RPC library that improperly handles XML-RPC requests and responses with malformed nested tags.


A remote attacker could exploit this vulnerability to inject arbitrary PHP script code into eval() statements by sending a specially crafted XML document to 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-r2"

4.  References


Page updated August 26, 2005

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.