#Product : Google SEO Pressor Snippet Plugin
#Exploit Author : Rahul Pratap Singh
#Version :1.2.6
#Home page Link : https://wordpress.org/plugins/
#Website : 0x62626262.wordpress.com
#Linkedin : https://in.linkedin.com/in/
#Date : 21/4/2016
XSS Vulnerability:
------------------------------
Description:
------------------------------
Following parameters are not sanitized that leads to XSS Vulnerability.
Event Name, Events Url, Photo, Location ,Start Date, End Date, Street
Address, Address Locality, Address Region, Longitude, Latitude, Event
type, Offer aggregate, Low Price, High Price, Offer Url, Price, Events
Website, Offer Quantity, Price valid Until, Tickets currency
------------------------------
Vulnerable Code:
------------------------------
File Name: testfiles/google-seo-author-
$videos_value=get_post_meta($
?>
<tr> <th>
<label for="google_seo_meta_title"><?
$videos_title ); ?></label>
</th>
<td><?php
if(isset($videos_field['type']
($videos_field['type']=='
echo '<input type="date"
id="'.$videos_field['id'].'" name="'.$videos_field['id'].'"
value="'.$videos_value.'" />';
echo ''.
' jQuery(document).ready(
' var dateField = "'. $videos_field['id']
.'";'.
' $(\'#\'+dateField).datepick({ '.
' minDate: new Date()'.
' });'.
' });'.
'';
}else{ ?>
<input type="text" id="<?php echo
$videos_id; ?>" name="<?php echo $videos_id; ?>" class="large-text"
value="<?php echo $videos_value; ?>" /> <?php }?>
------------------------------
POC:
------------------------------
https://0x62626262.files.
Fix:
No fix Available
Vulnerability Disclosure Timeline:
→ March 03, 2016 – Bug discovered, initial report to WordPress.
→ March 07, 2016 – No, response. Report sent again.
→ March 08, 2016 – WordPress Acknowledged. Plugin taken down.
→ April 21, 2016 – Plugin still down. No patch available.
Pub Ref:
https://0x62626262.wordpress.
https://wordpress.org/plugins/
Komentarų nėra:
Rašyti komentarą