Blojsom 2.31 Cross-Site Scripting Vulnerability

2014-07-01T00:00:00
ID SSV:82132
Type seebug
Reporter Root
Modified 2014-07-01T00:00:00

Description

No description provided by source.

                                        
                                            
                                                source: http://www.securityfocus.com/bid/20026/info

Blojsom is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.

An attacker may leverage this issue to have arbitrary script code execute in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

To demonstrate the vulnerability, simply embed the following encoded text into the identified vulnerable fields. 

'><script>alert(1234)</script> 

This will have the effect of popping up an alert window. This proof of concept could easily be altered to cause the script to return authentication credentials to an attacker-controlled server.