Events Manager <= 7.4.0 - Authenticated (Contributor+) SQL Injection via 'meta_key' Parameter in Event/Location Duplicate Action
- 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 Events Manager – Calendar, Bookings, Tickets, and more! plugin for WordPress is vulnerable to generic SQL Injection via Stored 'meta_key' via Event/Location Duplicate Action in all versions up to, and including, 7.4.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This is a second-order SQL injection: an attacker first plants SQL metacharacters in a custom meta key via the standard add-meta flow (WordPress stores these verbatim in wp_postmeta), then triggers the injection by invoking the event_duplicate or location_duplicate action, which reads the stored meta keys via get_post_meta() and concatenates them unsafely into the INSERT query.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- netweblogic Events Manager – Calendar, Bookings, Tickets, and more!
through 7.4.0
References 14
plugins.trac.wordpress.org
- browser/events-manager/tags/7.3.6/classes/em-event.php#L1727
- browser/events-manager/tags/7.3.6/classes/em-event.php#L1720
- browser/events-manager/tags/7.3.6/classes/em-location.php#L620
- browser/events-manager/tags/7.3.6/classes/em-location.php#L613
- browser/events-manager/tags/7.3.6/em-actions.php#L160
- browser/events-manager/tags/7.3.6/em-actions.php#L316
- browser/events-manager/tags/7.2.3.1/classes/em-event.php#L1727
- browser/events-manager/tags/7.2.3.1/classes/em-event.php#L1720
- browser/events-manager/tags/7.2.3.1/classes/em-location.php#L620
- browser/events-manager/tags/7.2.3.1/classes/em-location.php#L613
- browser/events-manager/tags/7.2.3.1/em-actions.php#L160
- browser/events-manager/tags/7.2.3.1/em-actions.php#L316
- changeset?old_path=/events-manager/tags/7.4.0.1&new_path=/events-manager/tags/7.4.1