PHPBB URL BBCode HTML Injection Vulnerability

BID:8570

Info

PHPBB URL BBCode HTML Injection Vulnerability

Bugtraq ID: 8570
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Sep 08 2003 12:00AM
Updated: Sep 08 2003 12:00AM
Credit: Discovery of this vulnerability has been credited to <[email protected]>.
Vulnerable: phpBB Group phpBB 2.0.6
Not Vulnerable:

Discussion

PHPBB URL BBCode HTML Injection Vulnerability

phpBB BBCode has been reported prone to an HTML injection vulnerability. It has been reported that an attacker may inject malicious script into areas of phpBB where BBCode is rendered, for example, bulletin board posts or private messages. This issue is due to a lack of sufficient sanitization performed on user supplied URL BBCode tags.

An attacker may exploit this issue to steal cookie-based authentication credentials; other attacks may also be possible.

Exploit / POC

PHPBB URL BBCode HTML Injection Vulnerability

The following proof of concept has been supplied:

[url=http://www.example.com" onclick="alert('Hello')]text[/url]

[url=http://www.example.com" onclick=alert("bug");"]test[/url]

Solution / Fix

PHPBB URL BBCode HTML Injection Vulnerability

Solution:
The vendor has released a fix to address this issue. Please see the workaround section and referenced web page for more information.

References

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report