CVE-2008-5895: SQL Injection in Mediatheka connection.php
- Vendor
- Mediatheka
A SQL injection vulnerability exists in Mediatheka 4.2 and earlier, specifically in the connection.php file. The vulnerability is due to insufficient sanitization of the 'user' parameter, allowing remote attackers to inject and execute arbitrary SQL commands.
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 backend database. This can lead to unauthorized data access, data modification, or potentially full compromise of the application and underlying system depending on database privileges.
Mitigation
If you can’t patch tonight, do this now.
As an interim measure, implement strict input validation and sanitization for the 'user' parameter. Employ web application firewalls (WAFs) to detect and block SQL injection attempts, and restrict database user privileges to minimize impact.
Remediation
Patch, then assume compromise.
Upgrade to a fixed version of Mediatheka where input validation and parameterized queries are properly implemented for all user-supplied input, especially the 'user' parameter in connection.php.
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-2008-5895 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2008-5895 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2008-5895?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2008-5895. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2008-5895?
- Upgrade to a fixed version of Mediatheka where input validation and parameterized queries are properly implemented for all user-supplied input, especially the 'user' parameter in connection.php.
- What products are affected by CVE-2008-5895?
- Mediatheka.
- How severe is CVE-2008-5895?
- CVE-2008-5895 has a CVSS v2 score of 7.5 (High) and an EPSS score of 1.0% (64th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.