CVE-2012-5874: SQL Injection in Elite Bulletin Board <2.1.22
- Vendor
- Elite-Board
CVE-2012-5874 describes multiple SQL injection vulnerabilities in Elite Bulletin Board versions prior to 2.1.22. The vulnerabilities exist in the update_whosonline_reg and update_whosonline_guest functions, which fail to properly sanitize user-supplied input passed via the PATH_INFO variable to several PHP scripts, including checkuser.php, groups.php, index.php, login.php, quicklogin.php, register.php, Search.php, viewboard.php, and viewtopic.php. This allows remote attackers to inject arbitrary SQL commands into the application's database queries.
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 backend database. This can lead to unauthorized data access, data modification, or deletion, and potentially full compromise of the application and underlying server.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, implement strict input validation and sanitization on all user-supplied data, especially data passed via PATH_INFO to the affected scripts. Additionally, consider deploying a web application firewall (WAF) to block malicious SQL injection attempts.
Remediation
Patch, then assume compromise.
Upgrade Elite Bulletin Board to version 2.1.22 or later, where the input validation and sanitization issues in the update_whosonline_reg and update_whosonline_guest functions have been addressed.
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-2012-5874 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2012-5874 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2012-5874?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2012-5874.
- Is there a patch for CVE-2012-5874?
- Upgrade Elite Bulletin Board to version 2.1.22 or later, where the input validation and sanitization issues in the update_whosonline_reg and update_whosonline_guest functions have been addressed.
- What products are affected by CVE-2012-5874?
- Elite-Board Elite Bulletin Board.
- How severe is CVE-2012-5874?
- CVE-2012-5874 has a CVSS v2 score of 7.5 (High) and an EPSS score of 2.5% (85th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.