Fun Times with SVGs and DOM Based XSS
By Julian Berton
Julian Berton
Contact
In 6 minutes...
localhost:4000/apply_thankyou?uuid=d77a9190-4ace-11e4-b775-bd2f6eee9714&result=HC999|SUCCESS
URL of Thankyou Page
localhost:4000/apply_thankyou?
uuid= d77a9190-4ace-11e4-b775-bd2f6eee9714 &
result= HC999 | SUCCESS
& result = HC999 | SUCCESS
XSS (Reflected and stored )
DOM based XSS
DOM based XSS (cond)
JavaScript parses the URL using one of the following DOM methods
Exploiting
Web Application Firewall
Filtering strings such as:
Data URI
The Easy Way….
localhost:4000/apply_thankyou?
uuid=d77a9190-4ace-11e4-b775-bd2f6eee9714 &
result= HC999 | SUCCESS
localhost:4000/apply_thankyou#
uuid=d77a9190-4ace-11e4-b775-bd2f6eee9714 &
result= HC999<script>alert(‘xss’)</script> | SUCCESS
More Info
Blog post coming soon!