JRuby Regular Expression Engine Cross Site Scripting Vulnerability
BID:50714
Info
JRuby Regular Expression Engine Cross Site Scripting Vulnerability
| Bugtraq ID: | 50714 |
| Class: | Input Validation Error |
| CVE: |
CVE-2010-1330 |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 26 2010 12:00AM |
| Updated: | Apr 26 2010 12:00AM |
| Credit: | Jörn Hartmann |
| Vulnerable: |
JRuby JRuby 1.4.0 JRuby jcodings 0 |
| Not Vulnerable: |
JRuby JRuby 1.4.1 JRuby jcodings 1.0.3 |
Discussion
JRuby Regular Expression Engine Cross Site Scripting Vulnerability
JRuby is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected Ruby-based application. This may allow the attacker to steal cookie-based authentication credentials and launch other attacks.
JRuby 1.4.0 is vulnerable.
JRuby is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected Ruby-based application. This may allow the attacker to steal cookie-based authentication credentials and launch other attacks.
JRuby 1.4.0 is vulnerable.
Exploit / POC
JRuby Regular Expression Engine Cross Site Scripting Vulnerability
To exploit the issue, an attacker must entice an unsuspecting victim to follow a malicious URI.
An example is available. Please see the references.
To exploit the issue, an attacker must entice an unsuspecting victim to follow a malicious URI.
An example is available. Please see the references.
Solution / Fix
JRuby Regular Expression Engine Cross Site Scripting Vulnerability
Solution:
Updates are available. Please see the references for more information.
Solution:
Updates are available. Please see the references for more information.
References
JRuby Regular Expression Engine Cross Site Scripting Vulnerability
References:
References: