Eventin <= 4.1.22 - Missing Authorization to Unauthenticated Arbitrary Order Creation and Status Manipulation via 'status' 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: yes
- Technical impact: partial
Summary
The WP Event Solution (Eventin) plugin for WordPress is vulnerable to Missing Authorization in versions up to, and including, 4.1.22 via the create_item() handler for the /wp-json/eventin/v2/orders REST endpoint. The endpoint's create_item_permissions_check() function only verifies a wp_rest nonce (which is leaked to every visitor through the etn-public script's localized_data_obj on every frontend page) and accepts a user-supplied 'status' value in prepare_item_for_database() with no whitelist validation. This makes it possible for unauthenticated attackers to create etn-order posts with status='completed' that are counted as sold by etn_get_sold_tickets_by_event(); because the auto-cleanup wp_schedule_single_event() in create_item() only fires for status='pending' orders, the forged completed orders persist indefinitely and exhaust ticket inventory.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- arraytics Eventin – Event Calendar, Tickets, Registration, Booking & WooCommerce
through 4.1.22
References 7
plugins.trac.wordpress.org
- browser/wp-event-solution/tags/4.1.15/core/Order/OrderController.php#L1325
- browser/wp-event-solution/tags/4.1.15/core/Order/OrderController.php#L733
- browser/wp-event-solution/tags/4.1.15/core/Order/OrderController.php#L413
- browser/wp-event-solution/tags/4.1.15/utils/locale/vars.php#L35
- browser/wp-event-solution/tags/4.1.15/utils/helper.php#L4558
- changeset?reponame=&old=3668637%40wp-event-solution&new=3668637%40wp-event-solution