Vulnerability identifier: #VU32878
Vulnerability risk: Low
CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID:
CWE-ID:
CWE-79
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Ruby on Rails
Universal components / Libraries /
Scripting languages
Vendor: Rails
Description
The vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data when processing data passed via a crafted scheme name, as demonstrated by including a : sequence. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Mitigation
The vendor has issued the following versions to address this vulnerability: 2.3.18, 3.1.12, 3.2.13.
Vulnerable software versions
Ruby on Rails: 2.3.0 - 2.3.17, 3.1.0 rc1 - 3.1.11, 3.2.0 rc1 - 3.2.12
External links
https://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
https://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html
https://lists.opensuse.org/opensuse-updates/2013-04/msg00072.html
https://lists.opensuse.org/opensuse-updates/2013-04/msg00073.html
https://lists.opensuse.org/opensuse-updates/2014-01/msg00013.html
https://rhn.redhat.com/errata/RHSA-2013-0698.html
https://rhn.redhat.com/errata/RHSA-2014-1863.html
https://support.apple.com/kb/HT5784
https://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/
https://groups.google.com/group/rubyonrails-security/msg/78b9817a5943f6d6?dmode=source&output=gplain
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.