Ruby on Rails up to 2.0.1 strip_tags node.rb 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 2.0.1. It has been declared as problematic. Affected by this issue is some unknown functionality in the library actionpack/lib/action_controller/vendor/html-scanner/html/node.rb of the component strip_tags. Such manipulation leads to cross site scripting. This vulnerability is referenced as CVE-2011-2931. It is possible to launch the attack remotely. No exploit is available. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability was found in Ruby on Rails up to 2.0.1 (Programming Language Software). It has been rated as problematic. Affected by this issue is some unknown processing in the library actionpack/lib/action_controller/vendor/html-scanner/html/node.rb of the component strip_tags. The manipulation 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 integrity. CVE summarizes:

Cross-site scripting (XSS) vulnerability in the strip_tags helper in actionpack/lib/action_controller/vendor/html-scanner/html/node.rb in Ruby on Rails before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allows remote attackers to inject arbitrary web script or HTML via a tag with an invalid name.

The weakness was published 08/29/2011 (Website). The advisory is shared for download at github.com. This vulnerability is handled as CVE-2011-2931. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1059.007.

The vulnerability scanner Nessus provides a plugin with the ID 56098 (Fedora 14 : rubygem-actionpack-2.3.8-4.fc14 (2011-11567)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks.

Upgrading to version 2.0.2 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (56098) and Vulnerability Center (SBV-33163†). Similar entries are available at VDB-58403, VDB-58402, VDB-58401 and VDB-58399. 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: 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: 56098
Nessus Name: Fedora 14 : rubygem-actionpack-2.3.8-4.fc14 (2011-11567)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 70237
OpenVAS Name: Debian Security Advisory DSA 2301-1 (rails)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Ruby on Rails 2.0.2
Patch: github.com

Timelineinfo

07/27/2011 🔍
08/29/2011 +33 days 🔍
08/29/2011 +0 days 🔍
08/29/2011 +0 days 🔍
09/07/2011 +9 days 🔍
09/12/2011 +5 days 🔍
03/23/2015 +1288 days 🔍
11/18/2021 +2432 days 🔍

Sourcesinfo

Advisory: dsa-2301
Status: Not defined
Confirmation: 🔍

CVE: CVE-2011-2931 (🔍)
GCVE (CVE): GCVE-0-2011-2931
GCVE (VulDB): GCVE-100-58400

OVAL: 🔍

Secunia: 45921
Vulnerability Center: 33163 - Ruby on Rails before 2.3.13, 3 - 3.0.9 and 3.1 - 3.1.0.rc4 strip_tags Helper Cross Site Scripting, Medium

See also: 🔍

Entryinfo

Created: 03/23/2015 16:50
Updated: 11/18/2021 13:40
Changes: 03/23/2015 16:50 (59), 03/31/2017 12:10 (7), 11/18/2021 13:29 (7), 11/18/2021 13:34 (1), 11/18/2021 13:40 (1)
Complete: 🔍
Cache ID: 216:D43:103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!