Description
The Word Count and Social Shares WordPress plugin through 1.0 does not validate a user-supplied file path before deletion, nor does it have proper authorization or CSRF checks, allowing any authenticated user, such as a Subscriber, to delete arbitrary files on the server, which can lead to a full site takeover (e.g. by deleting wp-config.php).
Problem types
CWE-73 External Control of File Name or Path
CWE-352 Cross-Site Request Forgery (CSRF)
Product status
Any version
Credits
Muni Nitish Kumar Yaddala
WPScan
References
wpscan.com/...rability/7f4b5f16-6c31-4dcc-94a4-120cb45631bb/