Ruby on Rails up to 3.1.2/4.0.3 jquery_ujs.js information disclosure
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.1 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, was found in Ruby on Rails up to 3.1.2/4.0.3. This issue affects some unknown processing of the file jquery_ujs.js. The manipulation results in information disclosure. This vulnerability is identified as CVE-2015-1840. The attack can be executed remotely. There is not any exploit available. You should upgrade the affected component.
Details
A vulnerability classified as problematic has been found in Ruby on Rails up to 3.1.2/4.0.3 (Programming Language Software). Affected is some unknown functionality of the file jquery_ujs.js. The manipulation with an unknown input leads to a information disclosure vulnerability. CWE is classifying the issue as CWE-200. The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. This is going to have an impact on integrity. CVE summarizes:
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.
The weakness was released 07/26/2015 by Aaron (Website). The advisory is available at groups.google.com. This vulnerability is traded as CVE-2015-1840 since 02/17/2015. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Successful exploitation requires user interaction by the victim. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1592 by the MITRE ATT&CK project.
The vulnerability scanner Nessus provides a plugin with the ID 84255 (FreeBSD : rubygem-rails -- multiple vulnerabilities (eb8a8978-8dd5-49ce-87f4-49667b2166dd)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 167972 (OpenSuSE Security Update for rubygem-jquery-rails (openSUSE-SU-2015:1260-1)).
Upgrading to version 3.1.3 or 4.0.4 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (84255), EUVD (EUVD-2017-0163), SecurityFocus (BID 75239†) and Vulnerability Center (SBV-51616†). Entries connected to this vulnerability are available at VDB-76812, VDB-76813, VDB-76814 and VDB-76815. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.3VulDB Meta Temp Score: 4.1
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Information disclosureCWE: CWE-200 / CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 84255
Nessus Name: FreeBSD : rubygem-rails -- multiple vulnerabilities (eb8a8978-8dd5-49ce-87f4-49667b2166dd)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for rubygem-jquery-rails FEDORA-2015-10258
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Ruby on Rails 3.1.3/4.0.4
Timeline
02/17/2015 🔍06/16/2015 🔍
06/16/2015 🔍
07/26/2015 🔍
07/26/2015 🔍
07/28/2015 🔍
07/28/2015 🔍
01/14/2026 🔍
Sources
Advisory: groups.google.comResearcher: Aaron
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2015-1840 (🔍)
GCVE (CVE): GCVE-0-2015-1840
GCVE (VulDB): GCVE-100-76806
EUVD: 🔍
SecurityFocus: 75239 - Ruby on Rails jquery-ujs and jquery-rails CVE-2015-1840 Security Bypass Vulnerability
Vulnerability Center: 51616 - Ruby on Rails jquery-rails 3.0 - 3.1.2, 4.0 - 4.0.3 Remote Information Disclosure due to CSP Bypass via Leading Space Char in URL, Medium
See also: 🔍
Entry
Created: 07/28/2015 10:17Updated: 01/14/2026 23:39
Changes: 07/28/2015 10:17 (55), 08/03/2017 03:21 (14), 06/03/2022 20:11 (3), 11/29/2024 08:26 (18), 01/14/2026 23:39 (1)
Complete: 🔍
Cache ID: 216:95E:103
No comments yet. Languages: en.
Please log in to comment.