Gentoo Logo

PhpWiki: Remote execution of arbitrary code

Content:

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

Synopsis

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

2.  Impact Information

Background

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

Description

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

Impact

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

Workaround

There is no known workaround at this time.

Resolution

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



Print

Updated May 17, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Support OSL
Gentoo Centric Hosting: vr.org
Tek Alchemy
SevenL.net
Global Netoptex Inc.
Bytemark
Online Kredit Index
Copyright 2001-2009 Gentoo Foundation, Inc. Questions, Comments? Contact us.