CVE-2005-0786: SQL Injection in SimpGB guestbook.php quote parameter
- Vendor
- Simpgb
A SQL injection vulnerability exists in SimpGB due to improper sanitization of user-supplied input in the 'quote' parameter to guestbook.php, as handled by gb_new.inc. This allows remote attackers to inject and execute arbitrary SQL commands against the backend database.
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 compromise of the underlying database and potentially the host system.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to guestbook.php, employ web application firewalls to filter malicious input, and ensure database accounts have the least privileges necessary to limit the impact of a successful attack.
Remediation
Patch, then assume compromise.
Upgrade to a patched version of SimpGB that properly sanitizes and parameterizes SQL queries. If no patch is available, manually sanitize all user input and use prepared statements for database access.
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-2005-0786 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2005-0786 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2005-0786?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2005-0786.
- Is there a patch for CVE-2005-0786?
- Upgrade to a patched version of SimpGB that properly sanitizes and parameterizes SQL queries. If no patch is available, manually sanitize all user input and use prepared statements for database access.
- What products are affected by CVE-2005-0786?
- Simpgb.
- How severe is CVE-2005-0786?
- CVE-2005-0786 has a CVSS v2 score of 7.5 (High) and an EPSS score of 2.4% (85th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.