WordPress Custom Map 1.1 Cross Site Scripting

WordPress Custom Map plugin version 1.1 suffers from a cross site scripting vulnerability.


MD5 | cc4062b6e2d3a8c56dbd9b296155e778

Product: Custom Map WordPress Plugin - https://wordpress.org/plugins/custom-map/
Vendor: webdesi9
Tested version: 1.1
CVE ID: CVE-2017-17744

** CVE description **
A cross-site scripting (XSS) vulnerability in the custom-map plugin through 1.1 for WordPress allows remote attackers to inject arbitrary web script or HTML via the map_id parameter to view/advancedsettings.php.

** Technical details **
In custom-map/view/advancedsettings.php:9, $_REQUEST['map_id'] is directly echoed back to user without proper sanitization.

Vulnerable code:
if(isset($_REQUEST['map_id']))
{
echo $map_id=$_REQUEST['map_id'];

https://plugins.trac.wordpress.org/browser/custom-map/trunk/view/advancedsettings.php#L9

** Proof of Concept **
http://<host>/wordpress/wp-admin/admin.php?page=custom_maps_advanced_settings&map_id=<script>alert(document.cookie);</script>

** Solution **
No fix available yet.

** Timeline **
13/10/2017: vendor contacted through webform; no reply
17/10/2017: vendor contacted through webform; no reply
31/10/2017: vendor contacted through [email protected]; no reply
05/12/2017: vendor contacted through [email protected]; no reply
19/12/2017: report published

** Credits **
Vulnerability discovered by Nicolas Buzy-Debat working at Orange Cyberdefense Singapore (CERT-LEXSI).

--
Best Regards,

Nicolas Buzy-Debat
Orange Cyberdefense Singapore (CERT-LEXSI)

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.




Related Posts