Ruby on Rails up to 3.1.2/4.0.3 jquery_ujs.js information disclosure

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.1$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.3
VulDB Meta Temp Score: 4.1

VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Information disclosure
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Ruby on Rails 3.1.3/4.0.4

Timelineinfo

02/17/2015 🔍
06/16/2015 +119 days 🔍
06/16/2015 +0 days 🔍
07/26/2015 +40 days 🔍
07/26/2015 +0 days 🔍
07/28/2015 +2 days 🔍
07/28/2015 +0 days 🔍
01/14/2026 +3823 days 🔍

Sourcesinfo

Advisory: groups.google.com
Researcher: 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: 🔍

Entryinfo

Created: 07/28/2015 10:17
Updated: 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

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!