Ruby on Rails up to 4.0.1 number_helper.rb units cross site scripting

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 was found in Ruby on Rails up to 4.0.1. It has been classified as problematic. This vulnerability affects unknown code in the library actionview/lib/action_view/helpers/number_helper.rb. This manipulation of the argument units causes cross site scripting. This vulnerability is handled as CVE-2014-0081. The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability classified as problematic was found in Ruby on Rails up to 4.0.1 (Programming Language Software). Affected by this vulnerability is an unknown code block in the library actionview/lib/action_view/helpers/number_helper.rb. The manipulation of the argument units with an unknown input leads to a cross site scripting vulnerability. The CWE definition for the vulnerability is CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. As an impact it is known to affect integrity. The summary by CVE is:

Multiple cross-site scripting (XSS) vulnerabilities in actionview/lib/action_view/helpers/number_helper.rb in Ruby on Rails before 3.2.17, 4.0.x before 4.0.3, and 4.1.x before 4.1.0.beta2 allow remote attackers to inject arbitrary web script or HTML via the (1) format, (2) negative_format, or (3) units parameter to the (a) number_to_currency, (b) number_to_percentage, or (c) number_to_human helper.

The weakness was released 02/20/2014 by Toby Hsieh (Website). The advisory is shared at groups.google.com. This vulnerability is known as CVE-2014-0081 since 12/03/2013. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1059.007 for this issue.

The vulnerability scanner Nessus provides a plugin with the ID 73064 (CentOS 6 : ruby193-rubygem-actionpack (CESA-2014:0306)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12853 (Ruby on Rails Multiple Vulnerabilities).

Upgrading to version 4.0.2 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (91168), Tenable (73064), SecurityFocus (BID 65604†), Secunia (SA57376†) and Vulnerability Center (SBV-43590†). Entries connected to this vulnerability are available at VDB-66700, VDB-66561, VDB-66560 and VDB-66422. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

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: Cross site scripting
CWE: CWE-79 / CWE-94 / CWE-74
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: 73064
Nessus Name: CentOS 6 : ruby193-rubygem-actionpack (CESA-2014:0306)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 867578
OpenVAS Name: Fedora Update for rubygem-actionpack FEDORA-2014-3169
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 4.0.2

Timelineinfo

12/03/2013 🔍
02/18/2014 +77 days 🔍
02/18/2014 +0 days 🔍
02/20/2014 +2 days 🔍
02/20/2014 +0 days 🔍
03/12/2014 +20 days 🔍
03/18/2014 +6 days 🔍
03/24/2015 +371 days 🔍
02/01/2022 +2506 days 🔍

Sourcesinfo

Advisory: RHSA-2014:0306
Researcher: Toby Hsieh
Status: Not defined

CVE: CVE-2014-0081 (🔍)
GCVE (CVE): GCVE-0-2014-0081
GCVE (VulDB): GCVE-100-66421
X-Force: 91168
SecurityFocus: 65604 - Ruby on Rails CVE-2014-0082 Denial of Service Vulnerability
Secunia: 57376
SecurityTracker: 1029782
Vulnerability Center: 43590 - Ruby on Rails Remote XSS via Parameters Sent to the Helper, Medium

See also: 🔍

Entryinfo

Created: 03/24/2015 15:54
Updated: 02/01/2022 20:29
Changes: 03/24/2015 15:54 (70), 05/22/2017 17:25 (5), 02/01/2022 20:22 (4), 02/01/2022 20:29 (2)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

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!