Gentoo 2479 Published by

A new security update has been released for Gentoo Linux - PhpWiki: Remote execution of arbitrary code. Here the announcement:



Gentoo Linux Security Advisory GLSA 200705-16
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: PhpWiki: Remote execution of arbitrary code
Date: May 17, 2007
Bugs: #174451
ID: 200705-16

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

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

Background
==========

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

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 www-apps/phpwiki < 1.3.10-r3 >= 1.3.10-r3

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.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All PhpWiki users should upgrade to the latest version:

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

References
==========

[ 1 ] CVE-2007-2024
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2024
[ 2 ] CVE-2007-2025
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2025

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200705-16.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
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 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.5