Secunia Logo
 
phpBB "avatar_path" PHP Code Execution Vulnerability
Secunia Advisory: SA22188
Release Date: 2006-10-04
Last Update: 2007-01-05
Popularity: 13,486 views

Critical:
Less critical
Impact: System access
Where: From remote
Solution Status: Vendor Patch

Software:phpBB 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-4758
CVE-2006-6839
CVE-2006-6840


Description:
ShAnKaR has discovered a vulnerability in phpBB, which can be exploited by malicious users to compromise a vulnerable system.

Input passed to the "avatar_path" parameter in admin/admin_board.php is not properly sanitised before being used as a configuration variable to store avatar images. This can be exploited to upload and execute arbitrary PHP code by changing "avatar_path" to a file with a trailing NULL byte.

Successful exploitation requires privileges to the administration section.

The vulnerability has been confirmed in version 2.0.21. Prior versions may also be affected.

Solution:
Update to version 2.0.22.

Provided and/or discovered by:
ShAnKaR

Changelog:
2006-12-28: Updated "Solution" section.
2007-01-05: Added CVE reference.


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 42 views
2. Apple iPhone / iPod touch Multiple Vulnerabilities // 34 views
3. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 32 views
4. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 28 views
5. SemanticScuttle Cross-Site Scripting Vulnerabilities // 24 views
6. vBulletin Visitor Messages Script Insertion Vulnerability // 22 views
7. Fedora update for thunderbird // 22 views
8. Easyedit CMS Multiple SQL Injection Vulnerabilities // 21 views
9. Checkpoint VPN-1 Information Disclosure Vulnerability // 20 views
10. IBM Workplace Web Content Management Cross-Site Scripting Vulnerabilities // 20 views