SQL Injection in WPTouch WordPress Plugin ajax.php
The WPTouch plugin for WordPress contains a SQL injection vulnerability in ajax.php, where the 'id' parameter is not properly sanitized. This allows remote attackers to inject arbitrary SQL commands via the 'id' parameter, potentially compromising the underlying database.
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 WordPress database. This can lead to data leakage, unauthorized data modification, or complete compromise of the WordPress site, depending on the attacker's skill and the database permissions.
If you can’t patch tonight, do this now.
Restrict access to ajax.php via web server configuration or a web application firewall (WAF). Employ input validation and parameterized queries in custom code. Monitor logs for suspicious activity targeting the 'id' parameter in ajax.php.
Patch, then assume compromise.
Update the WPTouch plugin to a version that properly sanitizes and validates the 'id' parameter in ajax.php. If no patched version is available, consider disabling the plugin until a fix is released.
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.