PhpWiki: Authentication bypass

Security Team  Contact Address

Updated September 18, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200709-10 / phpwiki
Release Date September 18, 2007
Latest Revision September 18, 2007: 01
Impact low
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-apps/phpwiki < 1.3.14 >= 1.3.14 All supported architectures

Related bugreports: #181692

Synopsis

A vulnerability has been discovered in PhpWiki authentication mechanism.

2.  Impact Information

Background

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

Description

The PhpWiki development team reported an authentication error within the file lib/WikiUser/LDAP.php when binding to an LDAP server with an empty password.

Impact

A remote attacker could provide an empty password when authenticating. Depending on the LDAP implementation used, this could bypass the PhpWiki authentication mechanism and grant the attacker access to the application.

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.14"

4.  References