CVE-2015-1840Published Jul 26, 2015 · Jul 26Updated Jun 17
jquery-rails and jquery-ujs subject to Exposure of Sensitive Information
Medium5.0Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| jquery-rails RubyGems |
|
|
| jquery-ujs RubyGems |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| jquery-rails RubyGems |
|
|
| jquery-ujs RubyGems |
|
|
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.
From the CVE record · redhat
The jquery_ujs.js and rails.js files, as used with Ruby on Rails 3.x and 4.x, are vulnerable to a Same Origin Policy bypass. A remote attacker can cause a CSRF token to be sent to a different-domain server using a URL with a leading space in an attribute value.
Check applications using jquery-rails before 3.1.3 or from 4.0.0 to before 4.0.4, or jquery-ujs before 1.0.4.