Ruby on Rails Cross Site Scripting Vulnerability
BID:47186
Info
Ruby on Rails Cross Site Scripting Vulnerability
| Bugtraq ID: | 47186 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 06 2011 12:00AM |
| Updated: | Apr 06 2011 12:00AM |
| Credit: | The vendor reported this issue. |
| Vulnerable: |
Ruby on Rails Ruby on Rails 3.0.5 Ruby on Rails Ruby on Rails 3.0.4 Ruby on Rails Ruby on Rails 3.0.3 Ruby on Rails Ruby on Rails 3.0.3 Ruby on Rails Ruby on Rails 3.0.2 Ruby on Rails Ruby on Rails 3.0.1 Ruby on Rails Ruby on Rails 3.0 |
| Not Vulnerable: |
Ruby on Rails Ruby on Rails 3.0.6 |
Discussion
Ruby on Rails Cross Site Scripting Vulnerability
Ruby on Rails 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 to launch other attacks.
Ruby on Rails versions 3.0 through 3.0.5 are vulnerable.
Ruby on Rails 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 to launch other attacks.
Ruby on Rails versions 3.0 through 3.0.5 are vulnerable.
Exploit / POC
Ruby on Rails Cross Site Scripting Vulnerability
To exploit this issue, an attacker must entice an unsuspecting victim to follow a malicious URI.
To exploit this issue, an attacker must entice an unsuspecting victim to follow a malicious URI.
Solution / Fix
Ruby on Rails 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
Ruby on Rails Cross Site Scripting Vulnerability
References:
References:
- Rails 3.0.6 contains an important security fix! Please upgrade! (Ruby on Rails)
- Ruby on Rails Home Page (Ruby on Rails)