CVE-2009-1947: SQL Injection in UnbDbEncode (UNB 1.6.4)
- Vendor
- Newsboard
A SQL injection vulnerability exists in Unclassified NewsBoard (UNB) 1.6.4 due to improper sanitization of user-supplied input in the UnbDbEncode function within unb_lib/database.lib.php. An attacker can exploit this by supplying crafted input to the Query parameter in a search action to forum.php, resulting in the execution of arbitrary SQL commands. This is distinct from CVE-2005-3686.
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 application's database, potentially leading to data leakage, data modification, or full compromise of the application and its underlying database.
Mitigation
If you can’t patch tonight, do this now.
As an interim measure, restrict access to forum.php, employ web application firewalls to detect and block SQL injection attempts, and validate/sanitize all user input at the application level.
Remediation
Patch, then assume compromise.
Upgrade to a patched version of Unclassified NewsBoard where input validation and proper parameterization are implemented in the UnbDbEncode function. Ensure all user-supplied input is properly sanitized before being used in SQL queries.
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-2009-1947 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2009-1947 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2009-1947?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2009-1947.
- Is there a patch for CVE-2009-1947?
- Upgrade to a patched version of Unclassified NewsBoard where input validation and proper parameterization are implemented in the UnbDbEncode function. Ensure all user-supplied input is properly sanitized before being used in SQL queries.
- What products are affected by CVE-2009-1947?
- Newsboard Unclassified Newsboard.
- How severe is CVE-2009-1947?
- CVE-2009-1947 has a CVSS v2 score of 7.5 (High) and an EPSS score of 0.99% (63rd percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.