As i am proceeding with my masters study(M.Tech) in computer science , the broad research topic i will be researching upon is Web Application Security . Under that broad area the specific research i have selected is , What are the various ways to exploit the end user means the client side . So i will be focussing on exploiting via daily life objects of virtual world which we use every time like images , videos , docs etc. Wish me luck with that 🙂
Coming on the point , I was reading the research work of Mario Heiderich titled “The Image that called me” presented in year 2011(Doc link at the end of post). The whole research is about security in svg files . I thank to the author for this awesome work . For those who are not aware of what svg is, Go wiki . Its the year 2015, svg became a big part of web applications. Most of the web based projects include svg for a clear and interactive user experience . Svgs now falls under the images category . Many of the websites now allow svg files to be uploaded under images category . But did they filtered the content of svg file before placing it on the server ? The answer is ummm…? . To verify this answer what i did is created a svg file with a XSS vector below and started testing the websites that allow images .
[pastacode lang=”markup” manual=”%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20onload%3D%22alert(1)%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cdefs%3E%3Cfont%20id%3D%22x%22%3E%3Cfont-face%20font-family%3D%22y%22%2F%3E%3C%2Ffont%3E%3C%2Fdefs%3E%3C%2Fsvg%3E%0AVector%20credits%20%3A%20https%3A%2F%2Fhtml5sec.org%2F%2343%20%0ADemo%20%3A%20http%3A%2F%2Fjasminderpalsingh.info%2Fts.svg” message=”” highlight=”” provider=”manual”/]
The same day of tweeting i received POCs of this vulnerability in many websites.
Above POCs Via @hackerspider1
I will posting the second part of this post with the mitigation of this vulnerability and more details if any . For now thanks for bearing the wall of text . See ya 🙂
[pastacode lang=”markup” manual=”https%3A%2F%2Fwww.owasp.org%2Fimages%2F0%2F03%2FMario_Heiderich_OWASP_Sweden_The_image_that_called_me.pdf%0Ahttp%3A%2F%2Fen.wikipedia.org%2Fwiki%2FScalable_Vector_Graphics%0Ahttp%3A%2F%2Fhtml5sec.org%2F” message=”” highlight=”” provider=”manual”/]