David Heinemeier Hansson Ruby on Rails 4.0.0/4.0.1 simple_format helper some_text cross site scripting
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.0 | $0-$5k | 0.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), Tenable (71257), SecurityFocus (BID 64071†), OSVDB (100526†) and Secunia (SA55864†). groups.google.com is providing further details. Similar entries are available at VDB-11373, VDB-11374, VDB-11376 and VDB-65653.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
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: Cross site scriptingCWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
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: 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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Ruby on Rails 3.2.16/4.0.2
Workaround: Add parentheses to code
Timeline
11/04/2013 🔍12/03/2013 🔍
12/03/2013 🔍
12/03/2013 🔍
12/03/2013 🔍
12/05/2013 🔍
12/06/2013 🔍
12/17/2013 🔍
06/02/2021 🔍
Sources
Advisory: XSS Vulnerability in simple_format helperResearcher: Kevin Reintjes
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2013-6416 (🔍)
X-Force: 89437
SecurityFocus: 64071
Secunia: 55864 - Ruby on Rails Multiple Vulnerabilities, Moderately Critical
OSVDB: 100526
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
Misc.: 🔍
See also: 🔍
Entry
Created: 12/05/2013 02:28 PMUpdated: 06/02/2021 05:19 PM
Changes: 12/05/2013 02:28 PM (55), 05/17/2017 12:30 PM (30), 06/02/2021 05:12 PM (4), 06/02/2021 05:19 PM (1)
Complete: 🔍
Committer:
Cache ID: 18:06D:40
No comments yet. Languages: en.
Please log in to comment.