SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Forum/Board/Portal)  >   phpBB Vendors:   phpBB Group
(Gentoo Issues Fix) phpBB Avatar Functions Let Remote Users View and Delete Files on the Target System
SecurityTracker Alert ID:  1013341
SecurityTracker URL:  http://securitytracker.com/id/1013341
CVE Reference:   CVE-2005-0258, CVE-2005-0259   (Links to External Site)
Date:  Mar 1 2005
Impact:   Disclosure of system information, Disclosure of user information, Modification of system information, Modification of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 2.0.12
Description:   iDEFENSE reported some input validation vulnerabilities in phpBB. A remote user can view and delete files on the target system.

A remote authenticated user can request to upload an avatar from both a remote URL and the local system. If the specified remote URL is actually a local path, the file indicated by the local path will be copied to the destination avatar image [CVE: CVE-2005-0259].

If the "Enable remote avatars" and "Enable avatar uploading" configuration settings are enabled, the system may be vulnerable.

The avatar gallery script ('usercp_avatar.php') does not properly validate user-supplied input to remove '/../' directory traversal characters. Then, the 'usercp_viewprofile.php' script will use the input in an unlink() function call. A remote user can supply a large number of '/../' directory traversal characters in the 'avatarselect' parameter to cause phpBB to delete files with the privileges of the target web service [CVE: CVE-2005-0258].

If the "Enable gallery avatars" setting is enabled, the system may be vulnerable.

The vendor was notified on February 9, 2005.

AnthraX101 discovered these vulnerabilities.

The original advisories are available at:

http://www.idefense.com/application/poi/display?id=204&type=vulnerabilities
http://www.idefense.com/application/poi/display?id=205&type=vulnerabilities

Impact:   A remote user can view and delete files on the target system with the privileges of the target web service.
Solution:   Gentoo has released a fix and indicates that all phpBB users should upgrade to the latest available version:

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

Vendor URL:  www.phpbb.com/ (Links to External Site)
Cause:   Access control error, Input validation error
Underlying OS:  Linux (Gentoo)

Message History:   This archive entry is a follow-up to the message listed below.
Feb 23 2005 phpBB Avatar Functions Let Remote Users View and Delete Files on the Target System



 Source Message Contents

Subject:  [gentoo-announce] [ GLSA 200503-02 ] phpBB: Multiple vulnerabilities


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigAEEF91CB9E6CABA51AD9465D
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200503-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: phpBB: Multiple vulnerabilities
      Date: March 01, 2005
      Bugs: #82955
        ID: 200503-02

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

Synopsis
========

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

Background
==========

phpBB is an Open Source bulletin board package.

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

    -------------------------------------------------------------------
     Package         /  Vulnerable  /                       Unaffected
    -------------------------------------------------------------------
  1  www-apps/phpBB      < 2.0.13                            >= 2.0.13

Description
===========

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).

Impact
======

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.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All phpBB users should upgrade to the latest available version:

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

References
==========

  [ 1 ] CAN-2005-0258
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0258
  [ 2 ] CAN-2005-0259
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0259
  [ 3 ] phpBB announcement
        http://www.phpbb.com/phpBB/viewtopic.php?f=14&t=267563

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

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

  http://security.gentoo.org/glsa/glsa-200503-02.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 2005 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.0


--------------enigAEEF91CB9E6CABA51AD9465D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCJLP3vcL1obalX08RAmuHAJ9gDIUcvmBcAVVrmV78hkWUrlevMACfTHkz
yhOvhh5wZStwqmsG8nlfpN0=
=QjMy
-----END PGP SIGNATURE-----

--------------enigAEEF91CB9E6CABA51AD9465D--

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC