Remote code execution in WordPress Shortcodes Ultimate
CVE-2017-18580 affects the WordPress Shortcodes Ultimate plugin through version 5.0.0. The su_meta, su_user, and su_post shortcodes fail to sanitize their filter argument, allowing an attacker to select the system() function and execute arbitrary operating-system commands during shortcode processing. The standalone attack requires a contributor account and execution through a draft-post preview. An observed exploit chain used Formidable Forms to pass untrusted input to do_shortcode(), removing the contributor-account requirement. Exploitation was observed on two compromised websites.
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 executes attacker-controlled operating-system commands on the WordPress host. Observed attacks downloaded and wrote a PHP payload to the server. The standalone attack allows a contributor-level user to gain server-side command execution; the Formidable Forms exploit chain removes that contributor-account prerequisite.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, disable the plugin or restrict access to shortcode functionality. Employ web application firewalls to block suspicious requests targeting shortcode filters.
Patch, then assume compromise.
Upgrade Shortcodes Ultimate to version 5.0.1 or later. Version 5.0.1 fixes this vulnerability.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.