vendor:
Simple Machines Forum
by:
The X-C3LL and seth
8.8
CVSS
HIGH
Session Hijacking
284
CWE
Product Name: Simple Machines Forum
Affected Version From: 2
Affected Version To: 2
Patch Exists: YES
Related CWE: N/A
CPE: a:simplemachines:simple_machines_forum
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2011
Simple Machines forum (SMF) 2.0 session hijacking
Simple Machines Forum (SMF) 2.0 is vulnerable to session hijacking. SMF stops CSRF attacks by sending a session token in all the requests which make changes to the forum. Usually, it goes in the POST content but when navigating the moderation zone it's present in the URL. An attacker can use BBcode to insert an <img> tag, forcing the browser to make a request and leak the token in the referer header. There are two ways for an attacker to place an image: writing in the moderators chat (?action=moderate) or making a post and reporting it to the moderator. Removing lines 104 and 105 from Subs-Menu.php seems to solve the problem.
Mitigation:
Removing lines 104 and 105 from Subs-Menu.php seems to solve the problem.