phpBB Privmsg.PHP HTML Injection Vulnerability

BID:22001

Info

phpBB Privmsg.PHP HTML Injection Vulnerability

Bugtraq ID: 22001
Class: Input Validation Error
CVE: CVE-2006-6421
Remote: Yes
Local: No
Published: Jan 11 2007 12:00AM
Updated: Mar 19 2015 09:32AM
Credit: Demential is credited with the discovery of this vulnerability.
Vulnerable: phpBB Group phpBB 2.0.21
Not Vulnerable: phpBB phpBB 2.0.22

Discussion

phpBB Privmsg.PHP HTML Injection Vulnerability

phpBB is prone to an HTML-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in dynamically generated content.

Attacker-supplied HTML and script code would execute in the context of the affected website, potentially allowing an attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user; other attacks are also possible.

Version 2.0.21 is vulnerable; other versions may also be affected.

Exploit / POC

phpBB Privmsg.PHP HTML Injection Vulnerability

Attackers can exploit this issue via a browser.

Sample exploit code has been provided:

Solution / Fix

phpBB Privmsg.PHP HTML Injection Vulnerability

Solution:
The vendor has released version 2.0.22 to address this issue; please see the reference section for details.

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