Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a stored xss vulnerability here: /index.php?m=home&c=message&a=add #5

Open
zhendezuile opened this issue Mar 30, 2022 · 0 comments

Comments

@zhendezuile
Copy link

zhendezuile commented Mar 30, 2022

Vulnerability file:\Application\Home\Controller\MessageController.class.php
You can see that the xss vulnerability is not filtered here
image

Vulnerability to reproduce:
1、Visit url: http://www.xxx.com/index.php?m=home&c=message&a=add ,use the post method to pass in parameter values,the specific operation screenshots are as follows:
image
2、Access background address: http://www.xxx.com/Admin/Message/index/menuId/132 ,you can see the success popup
image
Or you can log in to the background, click Extension Tools, and then click Message Management,a popup will appear next
image

Repair suggestion:
Use php built-in functions such as htmlspecialchars to filter xss vulnerabilities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant