RW Elephant Rental Inventory <= 2.3.13 - Missing Authorization to Authenticated (Subscriber+) Arbitrary Modification via 'toggle_cache' AJAX Action
rwelephant01 RW Elephant Rental Inventory
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| rwelephant01 RW Elephant Rental Inventory |
| No fix yet |
Original description
The RW Elephant Rental Inventory plugin for WordPress is vulnerable to Missing Authorization in all versions up to and including 2.3.13. This is due to a missing capability check on the toggle_cache() function which is hooked to the wp_ajax_toggle_cache AJAX action. The function also lacks nonce verification. This makes it possible for authenticated attackers, with Subscriber-level access and above, to toggle the plugin's cache setting on or off by sending a POST request to admin-ajax.
From the CVE record · Wordfence
References
- wordfence.com/threat-intel/vulnerabilities/id/5e46beca-e33b-4ed9-a0ab-612a6987174e?source=cve
- plugins.trac.wordpress.org/browser/rw-elephant-rental-inventory/trunk/lib/classes/class-options.php#L1524
- plugins.trac.wordpress.org/browser/rw-elephant-rental-inventory/tags/2.3.11/lib/classes/class-options.php#L1524
- plugins.trac.wordpress.org/browser/rw-elephant-rental-inventory/trunk/lib/classes/class-options.php#L75
- plugins.trac.wordpress.org/browser/rw-elephant-rental-inventory/tags/2.3.11/lib/classes/class-options.php#L75
- plugins.trac.wordpress.org/changeset/3551183