CVE-2008-3191: SQL Injection in mForum 0.1a usercp.php
- Vendor
- Marcioforum
CVE-2008-3191 describes multiple SQL injection vulnerabilities in mForum 0.1a, specifically in the usercp.php script. When the PHP configuration option magic_quotes_gpc is disabled, the City, Interest, Email, Icq, msn, and Yahoo Messenger fields in the edit_profile action are not properly sanitized, allowing remote attackers to inject arbitrary SQL commands.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary SQL commands against the mForum database, potentially leading to unauthorized data access, data modification, or complete compromise of the application and underlying database.
Mitigation
If you can’t patch tonight, do this now.
As an immediate mitigation, enable magic_quotes_gpc in the PHP configuration to add escaping to incoming data. Additionally, restrict access to usercp.php and monitor for suspicious activity. Long-term, refactor the code to use prepared statements and proper input validation.
Remediation
Patch, then assume compromise.
Upgrade to a patched version of mForum that properly sanitizes user input in usercp.php. If no patch is available, implement input validation and parameterized queries to prevent SQL injection. Ensure magic_quotes_gpc is enabled as a temporary workaround, though this is not a complete solution.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2008-3191 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2008-3191 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2008-3191?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2008-3191. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2008-3191?
- Upgrade to a patched version of mForum that properly sanitizes user input in usercp.php. If no patch is available, implement input validation and parameterized queries to prevent SQL injection.
- What products are affected by CVE-2008-3191?
- Marcioforum Mforum.
- How severe is CVE-2008-3191?
- CVE-2008-3191 has a CVSS v2 score of 6.8 (Medium) and an EPSS score of 1.1% (66th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.