Apocalypse Meow <= 22.1.0 - Authenticated (Administrator+) SQL Injection via 'type' Parameter
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The Apocalypse Meow plugin for WordPress is vulnerable to SQL Injection via the 'type' parameter in all versions up to, and including, 22.1.0. This is due to a flawed logical operator in the type validation check on line 261 of ajax.php — the condition uses `&&` (AND) instead of `||` (OR), causing the `in_array()` validation to be short-circuited and never evaluated for any non-empty type value. Combined with `stripslashes_deep()` being called on line 101 which removes `wp_magic_quotes()` protection, attacker-controlled single quotes pass through unescaped into the SQL query on line 298. This makes it possible for authenticated attackers, with Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- blobfolio Apocalypse Meow
through 22.1.0
References 10
plugins.trac.wordpress.org
- browser/apocalypse-meow/trunk/lib/blobfolio/wp/meow/ajax.php#L298
- browser/apocalypse-meow/tags/22.1.0/lib/blobfolio/wp/meow/ajax.php#L298
- browser/apocalypse-meow/trunk/lib/blobfolio/wp/meow/ajax.php#L261
- browser/apocalypse-meow/tags/22.1.0/lib/blobfolio/wp/meow/ajax.php#L261
- browser/apocalypse-meow/trunk/lib/blobfolio/wp/meow/ajax.php#L101
- browser/apocalypse-meow/tags/22.1.0/lib/blobfolio/wp/meow/ajax.php#L101
- browser/apocalypse-meow/trunk/lib/blobfolio/wp/meow/ajax.php#L167
- browser/apocalypse-meow/tags/22.1.0/lib/blobfolio/wp/meow/ajax.php#L167
- changeset?sfp_email=&sfph_mail=&reponame=&old=3448958%40apocalypse-meow&new=3448958%40apocalypse-meow&sfp_email=&sfph_mail=