Secunia Logo  
 
phpBB "highlight" PHP Code Execution and Script Insertion
Secunia Advisory: SA15845
Release Date: 2005-06-28
Last Update: 2005-07-29
Popularity: 22,335 views

Critical:
Highly critical
Impact: Cross Site Scripting
System access
Where: From remote
Solution Status: Vendor Patch

Software:phpBB 2.x

Subscribe: Instant alerts on relevant vulnerabilities


Description:
Two vulnerabilities have been reported in phpBB, which can be exploited by malicious people to conduct script insertion attacks and compromise a vulnerable system.

1) Input passed to the "highlight" parameter in "viewtopic.php" is not properly sanitised before being used in a "preg_replace()" call with the "e" modifier. This can be exploited to inject arbitrary PHP code.

NOTE: This is related to an older vulnerability incorrectly fixed in version 2.0.11.

The vulnerability has been reported in version 2.0.15 and prior.

2) An input validation error in the avatar section can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site in the Microsoft Internet Explorer browser by uploading a specially crafted JavaScript file with an image file extension.

The vulnerability has been reported in version 2.0.15. Prior versions may also be affected.

Solution:
Update to version 2.0.16.
http://www.phpbb.com/downloads.php

Provided and/or discovered by:
1) Ron van Daal
2) The vendor credits Xpert

Changelog:
2005-06-28: Updated advisory.
2005-06-29: Ron van Daal released details. Updated "Description" section.
2005-07-29: Vendor released details about another vulnerability. Updated advisory.

Original Advisory:
1) http://www.phpbb.com/phpBB/viewtopic.php?t=302011
2) http://www.phpbb.com/security/final_reports.php?p=16


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: 8
New vulnerabilities: 20
Updated advisories: 11

Less // 167 views
Red Hat update for kernel
Less // 164 views
Ubuntu update for bind9
Less // 155 views
Ubuntu update for ntp
Less // 161 views
Red Hat update for bind

8th Jan, 2009
New advisories: 24
New vulnerabilities: 99
Updated advisories: 26


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. XOOPS "mydirname" PHP Code Injection Vulnerability // 106 views
2. CuteNews Cross-Site Scripting and PHP Code Execution Vulnerabilities // 96 views
3. Ubuntu update for ntp // 56 views
4. Red Hat update for kernel // 56 views
5. Ubuntu update for bind9 // 52 views
6. Red Hat update for bind // 50 views
7. Sun Java JDK / JRE Multiple Vulnerabilities // 33 views
8. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 25 views
9. Internet Explorer Data Binding Memory Corruption Vulnerability // 24 views
10. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 24 views