SQL Injection in UnbDbEncode (UNB 1.6.4)
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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.