Gentoo Logo

phpBB: Multiple vulnerabilities


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200503-02 / phpbb
Release Date March 01, 2005
Latest Revision March 01, 2005: 01
Impact normal
Exploitable local and remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-apps/phpBB < 2.0.13 >= 2.0.13 All supported architectures

Related bugreports: #82955


Several vulnerabilities allow remote attackers to gain phpBB administrator rights or expose and manipulate sensitive data.

2.  Impact Information


phpBB is an Open Source bulletin board package.


It was discovered that phpBB contains a flaw in the session handling code and a path disclosure bug. AnthraX101 discovered that phpBB allows local users to read arbitrary files, if the "Enable remote avatars" and "Enable avatar uploading" options are set (CAN-2005-0259). He also found out that incorrect input validation in "usercp_avatar.php" and "usercp_register.php" makes phpBB vulnerable to directory traversal attacks, if the "Gallery avatars" setting is enabled (CAN-2005-0258).


Remote attackers can exploit the session handling flaw to gain phpBB administrator rights. By providing a local and a remote location for an avatar and setting the "Upload Avatar from a URL:" field to point to the target file, a malicious local user can read arbitrary local files. By inserting "/../" sequences into the "avatarselect" parameter, a remote attacker can exploit the directory traversal vulnerability to delete arbitrary files. A flaw in the "viewtopic.php" script can be exploited to expose the full path of PHP scripts.

3.  Resolution Information


There is no known workaround at this time.


All phpBB users should upgrade to the latest available version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-apps/phpBB-2.0.13"

4.  References


Page updated March 01, 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.