PT-2013-3433 · Ruby+1 · Ruby On Rails+1
Charlie Somerville
·
Published
2013-03-19
·
Updated
2023-02-13
·
CVE-2013-1855
CVSS v2.0
4.3
Medium
| Vector | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Name of the Vulnerable Software and Affected Versions
Ruby on Rails versions prior to 2.3.18
Ruby on Rails versions 3.0.x through 3.1.11
Ruby on Rails versions 3.2.x through 3.2.12
Description
The issue arises from the
sanitize css method in the Action Pack component, which fails to properly handle newline characters. This oversight allows remote attackers to conduct cross-site scripting (XSS) attacks by crafting malicious CSS token sequences.Recommendations
For Ruby on Rails versions prior to 2.3.18, update to version 2.3.18 or later.
For Ruby on Rails versions 3.0.x through 3.1.11, update to version 3.1.12 or later.
For Ruby on Rails versions 3.2.x through 3.2.12, update to version 3.2.13 or later.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Ruby On Rails
Suse