Skip to content

Cross Site Scripting Vulnerability on "Files" upload file SVG in Monstra 3.0.4 #467

Description

@Songohan22

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions