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 Scripting Vulnerability on "Files" upload file SVG in Monstra 3.0.4 #467

Open
Songohan22 opened this issue May 25, 2020 · 0 comments

Comments

@Songohan22
Copy link

Songohan22 commented May 25, 2020

Describe the bug
An authenticated malicious user can take advantage of a Stored XSS vulnerability in the "Files" feature.
Monstra application allows the upload of a SVG file extension (which is also an image type).
** Reproduce**
Steps to reproduce the behavior:

  1. Login into the panel Monstra
  2. Go to "/admin/index.php?id=filesmanager&path=uploads/"
  3. Upload file abc.svg:

2

  1. Open file upload : "/public/uploads/abc.svg"
  2. View the preview to trigger XSS.
  3. View the preview to get in request and such Stored XSS.
    Impact
    Commonly include transmitting private data, like cookies or other session information, to the attacker, redirecting the victim to web content controlled by the attacker, or performing other malicious operations on the user’s machine under the guise of the vulnerable site.
    Screenshots
    1
    Desktop (please complete the following information):
  • OS: Kali
  • Browser: Firefox
  • Version of Browser: 68.6
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