Skip to content

Commit

Permalink
Fix h1 report 99004
Browse files Browse the repository at this point in the history
Reflected XSS
-------------

The HackerOne user @decidedlygray has reported that the affiliate-preview.php
script in www/admin is vulnerable to a reflected XSS attack via the "charset"
parameter. If the target system is running a Revive Adserver version older
than 3.2.2, such a vulnerability could be used by an attacker to steal the
session ID of an authenticated user, by tricking them into visiting a
specifically crafted URL.

A CVE-ID has been requested, but not assigned yet.

CWE: CWE-79
CVSSv2: 3.5 (AV:N/AC:M/Au:S/C:N/I:P/A:N)
  • Loading branch information
mbeccati committed Mar 1, 2016
1 parent 3aaebcc commit a323fd6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function selectElement() {
break;
case 'charset':
$optionName = $GLOBALS['strCharset'];
$optionValue = empty($mi->$feature) ? $GLOBALS['strAutoDetect'] : $mi->$feature;
$optionValue = empty($mi->$feature) ? $GLOBALS['strAutoDetect'] : htmlspecialchars($mi->$feature);
break;
default:
$optionName = $feature;
Expand Down

0 comments on commit a323fd6

Please sign in to comment.