GLSA 200705-16: PhpWiki: Remote execution of arbitrary code

Severity:high
Title:PhpWiki: Remote execution of arbitrary code
Date:05/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 Architecture(s)
www-apps/phpwiki < 1.3.10-r3 >= 1.3.10-r3 All supported architectures

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

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 https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!