David Heinemeier Hansson Ruby on Rails 4.0.0/4.0.1 simple_format helper some_text 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.
6.0$0-$5k0.00

A vulnerability was found in David Heinemeier Hansson Ruby on Rails 4.0.0/4.0.1 (Programming Language Software). It has been rated as critical. This issue affects an unknown function of the component simple_format helper. The manipulation of the argument some_text with an unknown input leads to a cross site scripting vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Cross-site scripting (XSS) vulnerability in the simple_format helper in actionpack/lib/action_view/helpers/text_helper.rb in Ruby on Rails 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted HTML attribute.

The weakness was published 12/03/2013 by Kevin Reintjes as XSS Vulnerability in simple_format helper as confirmed posting (Maillist). It is possible to read the advisory at groups.google.com. The public release has been coordinated with David Heinemeier Hansson. The identification of this vulnerability is CVE-2013-6416 since 11/04/2013. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1059.007 according to MITRE ATT&CK.

The vulnerability scanner Nessus provides a plugin with the ID 71257 (FreeBSD : rails -- multiple vulnerabilities (6a806960-3016-44ed-8575-8614a7cb57c7)), 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 12793 (Ruby on Rails Multiple Vulnerabilities).

Upgrading to version 3.2.16 or 4.0.2 eliminates this vulnerability. The upgrade is hosted for download at rubyonrails.org. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (89437) and Tenable (71257). groups.google.com is providing further details. Similar entries are available at 11373, 11374, 11376 and 65653.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
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-74 / CWE-707
ATT&CK: T1059.007

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 71257
Nessus Name: FreeBSD : rails -- multiple vulnerabilities (6a806960-3016-44ed-8575-8614a7cb57c7)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 867566
OpenVAS Name: Fedora Update for rubygem-actionpack FEDORA-2013-23636
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Ruby on Rails 3.2.16/4.0.2
Workaround: Add parentheses to code

Timelineinfo

11/04/2013 🔍
12/03/2013 +28 days 🔍
12/03/2013 +0 days 🔍
12/03/2013 +0 days 🔍
12/03/2013 +0 days 🔍
12/05/2013 +2 days 🔍
12/06/2013 +1 days 🔍
12/17/2013 +11 days 🔍
06/02/2021 +2724 days 🔍

Sourcesinfo

Advisory: XSS Vulnerability in simple_format helper
Researcher: Kevin Reintjes
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2013-6416 (🔍)
X-Force: 89437
Vulnerability Center: 42614 - Ruby on Rails 4.* Before 4.0.2 Remote Cross-Site Scripting Vulnerability in actionpack/lib/action_view/helpers/text_helper.rb, Medium
SecurityFocus: 64071
Secunia: 55864 - Ruby on Rails Multiple Vulnerabilities, Moderately Critical
OSVDB: 100526

Misc.: 🔍
See also: 🔍

Entryinfo

Created: 12/05/2013 14:28
Updated: 06/02/2021 17:19
Changes: 12/05/2013 14:28 (55), 05/17/2017 12:30 (30), 06/02/2021 17:12 (4), 06/02/2021 17:19 (1)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!