Title: Reflected XSS in wordpress plugin g4b-photo-gallery v1.0 |
Author: Larry W. Cashdollar, @_larry0 |
Date: 2016-02-09 |
Download Site: https://wordpress.org/plugins/g4b-photo-gallery |
Downloads: 14630 |
Vendor Notified: 2016-02-09 |
Export: Json |
Vendor Contact: plugins@wordpress.org |
Plugin Name: g4b-photo-gallery |
Vulnerability: There is a reflected XSS vulnerability in the following php code ./g4b-photo-gallery/G4B_gallery_manage_photo.php:
18: <a href="edit-pages.php?page=G4B_gallery/G4B_gallery_manage_album.php&album_id=<?php echo $_GET['album_id'] ?>">
26: <form method="post" action="edit-pages.php?page=G4B_gallery/G4B_gallery_manage_photo.php&album_id=<?php echo $_GET['album_id'] ?>&photo_id=<?php echo $_GET['photo_id'] ?>">
29: <input type="hidden" name="photo_id" value="<?php echo $_GET['photo_id'] ?>" />
The variable album_id appears to send unsanitized data back to the users browser.
|
CVE-ID: Not Released |
File:./g4b-photo-gallery/G4B_gallery_manage_photo.php |
Exploit Code: Exploit was derived from appearance of first vulnerable parameter in code, there could be more shown above.
|