Secunia Logo
 
phpBB "avatar_path" PHP Code Execution Vulnerability
Secunia Advisory: SA22188
Release Date: 2006-10-04
Last Update: 2007-01-05
Popularity: 13,557 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

Today
New advisories: 9
New vulnerabilities: 13
Updated advisories: 17

Moderately // 100 views
Rumpus Multiple Vulnerabilities
Moderately // 158 views
Ubuntu update for imagemagick
Moderately // 144 views
Ubuntu update for libvorbis
Less // 141 views
Debian update for phpmyadmin

1st Dec, 2008
New advisories: 33
New vulnerabilities: 55
Updated advisories: 56


Solutions | More...  


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. bcoos "cid" SQL Injection Vulnerability // 102 views
2. Rumpus Multiple Vulnerabilities // 95 views
3. ASP Portal "ASPPortal.mdb" Database Disclosure Security Issue // 94 views
4. ClamAV "cli_check_jpeg_exploit()" Denial of Service Vulnerability // 85 views
5. Zaptel "ZT_SPANCONFIG" IOCTL Privilege Escalation Vulnerabilities // 82 views
6. DAHDI "ZT_SPANCONFIG" IOCTL Privilege Escalation Vulnerability // 79 views
7. Sun Java JDK / JRE Multiple Vulnerabilities // 56 views
8. Debian update for phpmyadmin // 39 views
9. Ubuntu update for imagemagick // 39 views
10. Microsoft Office Communications Server SIP INVITE Denial of Service // 37 views