{"id":"CVE-2015-1840","sourceIdentifier":"secalert@redhat.com","published":"2015-07-26T22:59:00.070","lastModified":"2026-06-17T00:23:05.780","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Vulnerabilidad en jquery_ujs.js en jquery-rails en versiones anteriores a 3.1.3 y 4.x anteriores a la versión 4.0.4 y vulnerabilidad en rails.js en jquery-ujs en versiones anteriores a 1.0.4, tal como se utiliza con Ruby on Rails en versiones 3.x y 4.x, permite a atacantes remotos poder evadir el Same Origin Policy y desencadena la transmisión de un token CSRF a un servidor web en un dominio diferente a través del caracter espacio encabezando una URL en un valor de atributo."}],"affected":[{"source":"secalert@redhat.com","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-200"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:*","matchCriteriaId":"56BDB5A0-0839-4A20-A003-B8CD56F48171"},{"vulnerable":true,"criteria":"cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*","matchCriteriaId":"253C303A-E577-4488-93E6-68A8DD942C38"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:rubyonrails:jquery-rails:*:*:*:*:*:*:*:*","versionEndIncluding":"3.1.2","matchCriteriaId":"7A148E0C-BADE-450D-8044-B14583213AEC"},{"vulnerable":true,"criteria":"cpe:2.3:a:rubyonrails:jquery-rails:4.0.0:*:*:*:*:*:*:*","matchCriteriaId":"0B544B72-D665-436E-90C3-17330FAD49F3"},{"vulnerable":true,"criteria":"cpe:2.3:a:rubyonrails:jquery-rails:4.0.1:*:*:*:*:*:*:*","matchCriteriaId":"AD5DBE03-32BD-4212-9987-57C3447B026D"},{"vulnerable":true,"criteria":"cpe:2.3:a:rubyonrails:jquery-ujs:*:*:*:*:*:*:*:*","versionEndIncluding":"1.0.3","matchCriteriaId":"64FC6756-0214-4671-8E2A-C3BC63A13E04"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:*","matchCriteriaId":"A10BC294-9196-425F-9FB0-B1625465B47F"},{"vulnerable":true,"criteria":"cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*","matchCriteriaId":"03117DF1-3BEC-4B8D-AD63-DBBDB2126081"}]}]}],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160906.html","source":"secalert@redhat.com","tags":["Third Party Advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-June/161043.html","source":"secalert@redhat.com","tags":["Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2015-07/msg00041.html","source":"secalert@redhat.com","tags":["Third Party Advisory"]},{"url":"http://openwall.com/lists/oss-security/2015/06/16/15","source":"secalert@redhat.com"},{"url":"http://www.securityfocus.com/bid/75239","source":"secalert@redhat.com"},{"url":"https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"https://groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J","source":"secalert@redhat.com","tags":["Exploit","Vendor Advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160906.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-June/161043.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2015-07/msg00041.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"http://openwall.com/lists/oss-security/2015/06/16/15","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/75239","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"https://groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Vendor Advisory"]}]}