CVE-2012-5342: SQL Injection in SenseSites CommonSense CMS
- Vendor
- Michau Enterprises
Multiple SQL injection vulnerabilities exist in SenseSites CommonSense CMS due to improper sanitization of the 'id' parameter in special.php, article.php, and cat2.php. Remote attackers can exploit these flaws by supplying crafted input to the 'id' parameter, resulting in the execution of arbitrary SQL commands within the application's database context.
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, which can lead to unauthorized data access, data modification, or deletion, and potentially full compromise of the CMS backend.
Mitigation
If you can’t patch tonight, do this now.
As an interim measure, implement web application firewall (WAF) rules to block malicious SQL injection attempts, and validate and sanitize all user input on the server side. Restrict database user privileges to minimize the impact of a successful attack.
Remediation
Patch, then assume compromise.
Upgrade to a patched version of SenseSites CommonSense CMS that properly sanitizes user input for SQL queries. If no patch is available, manually update the affected scripts to use parameterized queries or prepared statements for all database access involving user-supplied input.
Exploits
No validated public exploits yet. Hidden: 3 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-2012-5342 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2012-5342 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2012-5342?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2012-5342.
- Is there a patch for CVE-2012-5342?
- Upgrade to a patched version of SenseSites CommonSense CMS that properly sanitizes user input for SQL queries. If no patch is available, manually update the affected scripts to use parameterized queries or prepared statements for all database access involving user-supplied input.
- What products are affected by CVE-2012-5342?
- Michau Enterprises Commonsense Cms.
- How severe is CVE-2012-5342?
- CVE-2012-5342 has a CVSS v2 score of 7.5 (High) and an EPSS score of 1.1% (65th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.