CVE-2010-4627

MEDIUM6.8/ 10.0
Share:
Published: December 30, 2010 at 09:00 PM
Modified: April 11, 2025 at 12:51 AM
Source: cve@mitre.org

Vulnerability Description

Cross-site request forgery (CSRF) vulnerability in usercp2.php in MyBB (aka MyBulletinBoard) before 1.4.12 allows remote attackers to hijack the authentication of unspecified victims via unknown vectors.

CVSS Metrics

Base Score
6.8
Severity
MEDIUM
Vector String
AV:N/AC:M/Au:N/C:P/I:P/A:P

Weaknesses (CWE)

Source: nvd@nist.gov

AI Security Analysis

01 // Technical Summary

MyBB versions prior to 1.4.12 are vulnerable to a Cross-Site Request Forgery (CSRF) attack, allowing attackers to hijack authenticated user sessions. This vulnerability enables attackers to perform unauthorized actions on behalf of victims, potentially leading to account compromise and data breaches.

02 // Vulnerability Mechanism

Step 1: Victim Authentication: The victim is logged into their MyBB account.

Step 2: Attacker Crafting: The attacker crafts a malicious link or HTML form that, when submitted, will trigger a state-changing request (e.g., password change, email change) to usercp2.php.

Step 3: Payload Delivery: The attacker lures the victim to click the malicious link or visit a webpage containing the malicious form. This could be through phishing, social engineering, or other means.

Step 4: Request Submission: When the victim's browser loads the malicious link or form, it automatically submits the crafted request to the vulnerable usercp2.php script.

Step 5: Vulnerability Exploitation: Because MyBB lacks CSRF protection, the server processes the request as if it originated from the victim. The server does not verify the origin of the request.

Step 6: Action Execution: The requested action (e.g., password change) is executed on behalf of the victim, potentially leading to account compromise or other malicious outcomes.

03 // Deep Technical Analysis

The vulnerability stems from a lack of CSRF protection in the usercp2.php file of MyBB. Specifically, the application fails to validate the origin of requests, allowing an attacker to craft malicious requests that appear to originate from the victim's browser. This allows attackers to trick authenticated users into performing actions they did not intend, such as changing their profile information, password, or even gaining administrative privileges if the victim is an administrator. The root cause is the absence of CSRF tokens or other mechanisms to verify the request's authenticity, making the application susceptible to forged requests. The specific function or logic flaw is the missing implementation of state-changing request validation.

CVE-2010-4627 - MEDIUM Severity (6.8) | Free CVE Database | 4nuxd