Spring Framework 'JavaScriptUtils.javaScriptEscape()' Method Cross Site Scripting Vulnerability
BID:64948
Info
Spring Framework 'JavaScriptUtils.javaScriptEscape()' Method Cross Site Scripting Vulnerability
| Bugtraq ID: | 64948 |
| Class: | Input Validation Error |
| CVE: |
CVE-2013-6430 |
| Remote: | Yes |
| Local: | No |
| Published: | Jan 14 2014 12:00AM |
| Updated: | Oct 26 2016 05:08AM |
| Credit: | Jon Passki |
| Vulnerable: |
Redhat JBoss Fuse 6.0.0 Redhat JBoss A-MQ 6.0.0 IBM Websphere Portal 8.5 IBM Websphere Portal 8.0 IBM Websphere Portal 8.0.0.1 GoPivotal Spring Framework (Spring MVC) 3.2.1 GoPivotal Spring Framework (Spring MVC) 3.0.0 Debian Linux 6.0 sparc Debian Linux 6.0 s/390 Debian Linux 6.0 powerpc Debian Linux 6.0 mips Debian Linux 6.0 ia-64 Debian Linux 6.0 ia-32 Debian Linux 6.0 arm Debian Linux 6.0 amd64 |
| Not Vulnerable: |
Redhat JBoss Fuse 6.1.0 Redhat JBoss A-MQ 6.1.0 GoPivotal Spring Framework (Spring MVC) 3.2.2 |
Discussion
Spring Framework 'JavaScriptUtils.javaScriptEscape()' Method Cross Site Scripting Vulnerability
Spring Framework (Spring MVC) is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and launch other attacks.
Spring MVC 3.0.0 through 3.2.1 is vulnerable.
Spring Framework (Spring MVC) is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and launch other attacks.
Spring MVC 3.0.0 through 3.2.1 is vulnerable.
Exploit / POC
Spring Framework 'JavaScriptUtils.javaScriptEscape()' Method Cross Site Scripting Vulnerability
To exploit this issue an attacker must entice an unsuspecting victim to open a malicious URI.
To exploit this issue an attacker must entice an unsuspecting victim to open a malicious URI.
Solution / Fix
Spring Framework 'JavaScriptUtils.javaScriptEscape()' Method Cross Site Scripting Vulnerability
Solution:
Updates are available. Please see the references or vendor advisory for more information.
Solution:
Updates are available. Please see the references or vendor advisory for more information.
References
Spring Framework 'JavaScriptUtils.javaScriptEscape()' Method Cross Site Scripting Vulnerability
References:
References:
- CVE-2013-6430 Possible XSS when using Spring MVC (securityfocus)
- Security Report Announcement Jan-14-2014 (spring)
- Spring MVC Homepage (Pivotal Software)
- Red Hat JBoss A-MQ 6.1.0 update (Red Hat)
- Red Hat JBoss Fuse 6.1.0 update (Red Hat)
- swg21989676: Security Bulletin: Security Vulnerabilities in Spring Framework aff (IBM)