phpBB cross-site scripting using BBCode image tags

phpbb-bbcode-image-xss (9178) The risk level is classified as MediumMedium Risk

Description:

phpBB is vulnerable to cross-site scripting. A remote attacker could embed malicious script in a forum message within BBCode image tags by using a double quotation character (") to escape the image source location and insert arbitrary script. The script would be executed within a victim's Web browser once the message is viewed. An attacker could use this vulnerability to steal a user's cookie-based authentication credentials.


Consequences:

Obtain Information

Remedy:

Upgrade to the latest version of phpBB (2.0.1 or later), available from the phpBB Download Web page. See References.

References:

  • BugTraq Mailing List, Sun May 26 2002 - 10:59:33 CDT: Cross Site Scripting Vulnerability in phpBB2's [IMG] tag and remote avatar.
  • phpBB Download Web site: Downloads.
  • BID-4858: PHPBB2 Image Tag HTML Injection Vulnerability
  • CVE-2002-0902: Cross-site scripting vulnerability in phpBB 2.0.0 (phpBB2) allows remote attackers to execute Javascript as other phpBB users by including a http:// and a double-quote () in the [IMG] tag, which bypasses phpBB's security check, terminates the src parameter of the resulting HTML IMG tag, and injects the script.
  • OSVDB ID: 4296: phpBB Crafted IMG BBCode Tag XSS

Platforms Affected:

  • phpBB phpBB 2.0 RC-4

Reported:

May 26, 2002

The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page