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

Cross Site Script Vulnerability on "Edit Menu" in Mara 7.5 #2

Open
r0ck3t1973 opened this issue Sep 1, 2020 · 0 comments
Open

Cross Site Script Vulnerability on "Edit Menu" in Mara 7.5 #2

r0ck3t1973 opened this issue Sep 1, 2020 · 0 comments

Comments

@r0ck3t1973
Copy link
Owner

/Describe the bug/
An authenticated malicious user can take advantage of a Stored XSS vulnerability in the "Edit Menu" feature.

To Reproduce
/Steps to reproduce the behavior/:

1, Login into the panel
2. Go to '/Mara/codebase/menuedit.php'
3. Insert Payload:
"><script>alert(document.domain)</script>Hello world!
4. Click Test: Alert XSS Message
5. Save and go to Admin Panel
6. Alert XSS Message

/Expected behavior/
The removal of script tags is not sufficient to prevent an XSS attack. You must HTML Entity encode any output that is reflected back to the page

/Screenshots/

  1. go to '/Mara/codebase/menuedit.php'
    capture
  2. Insert Payload
    insert_payload
  3. Click Test: Alert XSS Message
    xss_mess
  4. Save and go to Admin Panel
  5. Alert XSS Message
    xss_mess1

/Desktop (please complete the following information):/
OS: Windows
Browser: All

I Hope you fix it ASAP

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