Information disclosure in Rubyonrails Jquery-Rails
CVE-2015-1840
jquery_ujs.js in jquery-rails before 3.1.3 and 4.x before 4.0.4 and rails.js in jquery-ujs before 1.0.4, as used with Ruby on Rails 3.x and 4.x, allow remote attackers to bypass the Same Origin Policy, and trigger transmission of a CSRF token to a different-domain web server, via a leading space character in a URL within an attribute value.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.045, 91.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubyonrails Jquery-Rails — versions 4.0.0, 4.0.1
- Rubyonrails Jquery-Ujs
- Fedoraproject Fedora — versions 21, 22
- openSUSE — versions 13.1, 13.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, innoq/security_report). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- FEDORA-2015-10144 (vendor-advisory, Third Party Advisory)
- openSUSE-SU-2015:1260 (vendor-advisory, Third Party Advisory)
- [oss-security] 20150616 [CVE-2015-1840] CSRF Vulnerability in jquery-ujs and jquery-rails (mailing-list)
- FEDORA-2015-10258 (vendor-advisory, Third Party Advisory)
- [rubyonrails-security] 20150616 [CVE-2015-1840] CSRF Vulnerability in jquery-ujs and jquery-rails (Vendor Advisory, mailing-list, Exploit)
- www.securityfocus.com/bid/75239 (vdb-entry)
- github.com/rails/jquery-ujs/blob/master/CHANGELOG.md (Vendor Advisory)
- github.com/rails/jquery-rails/blob/master/CHANGELOG.md (Vendor Advisory)