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

[SELF-XSS] (via svg file upload) #69

Closed
security-breachlock opened this issue Aug 16, 2018 · 1 comment
Closed

[SELF-XSS] (via svg file upload) #69

security-breachlock opened this issue Aug 16, 2018 · 1 comment

Comments

@security-breachlock
Copy link

security-breachlock commented Aug 16, 2018

Affected software: WonderCMS-2.5.2

Type of vulnerability: XSS (via SVG file upload)

URL: : https://www.wondercms.com

Discovered by: Breachlock

Website: https://www.breachlock.com

Author: Balvinder Singh

Description: I would like to report an XSS (via SVG file upload) Vulnerability that I found on wondercms-2.5.2
Description: SVG files can contain Javascript in <script> tags. Browsers are smart enough to ignore scripts embedded in SVG files included via IMG tags. However, a direct request for an SVG file will result in the scripts being executed.
So an embedded SVG as an attachment in an issue or avatar does not execute the code, but if a user clicks on the attachment the code will execute.

Proof of concept:

Step1: Login to the wondercms.
Step2: In the file, section choose file upload and upload a malicious SVG file.

choose_file

Step3: Now open that file which was saved as 1.svg the below output will be shown.
svg_file_upload

Vulnerable URL:http://localhost/WonderCMS-2.5.2/wondercms/files/1.svg

@robiso
Copy link
Collaborator

robiso commented Aug 17, 2018

Hello security-provensec.

Please check #57, both of the vulnerabilities you've reported are self attacks which we have already disclosed as self attacks, one of which has been already disputed with Mitre.

Closing issue, please feel to comment to keep the discussion going.

@robiso robiso closed this as completed Aug 17, 2018
@robiso robiso changed the title XSS (via svg file upload) in WonderCMS-2.5.2 [SELF-XSS] (via svg file upload) Aug 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants