CVE-2009-1404: SQL Injection in PastelCMS 0.8.0 admin.php
- Vendor
- Pastel
A SQL injection vulnerability exists in PastelCMS 0.8.0 within the admin.php script. When the PHP configuration option magic_quotes_gpc is disabled, the 'user' (Username) parameter is not properly sanitized, allowing 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 authentication bypass, data exfiltration, modification, or deletion, and potentially full compromise of the application and underlying database.
Mitigation
If you can’t patch tonight, do this now.
As an immediate mitigation, enable magic_quotes_gpc if possible (not recommended as a long-term solution), restrict access to admin.php, and use web application firewalls to detect and block SQL injection attempts. Monitor logs for suspicious activity targeting the 'user' parameter.
Remediation
Patch, then assume compromise.
Upgrade to a patched version of PastelCMS that properly sanitizes user input. If no patch is available, implement input validation and parameterized queries in admin.php to prevent SQL injection. Ensure magic_quotes_gpc is not relied upon for security.
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-1404 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2009-1404 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2009-1404?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2009-1404.
- Is there a patch for CVE-2009-1404?
- Upgrade to a patched version of PastelCMS that properly sanitizes user input. If no patch is available, implement input validation and parameterized queries in admin.php to prevent SQL injection.
- What products are affected by CVE-2009-1404?
- Pastelcms.
- How severe is CVE-2009-1404?
- CVE-2009-1404 has a CVSS v2 score of 6.8 (Medium) and an EPSS score of 0.93% (62nd percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.