Ruby on Rails up to 2.0.1 strip_tags node.rb cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.1 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.3VulDB Meta Temp Score: 4.1
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
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: 🔍
Physical: No
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: 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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Ruby on Rails 2.0.2
Patch: github.com
Timeline
07/27/2011 🔍08/29/2011 🔍
08/29/2011 🔍
08/29/2011 🔍
09/07/2011 🔍
09/12/2011 🔍
03/23/2015 🔍
11/18/2021 🔍
Sources
Advisory: dsa-2301Status: 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: 🔍
Entry
Created: 03/23/2015 16:50Updated: 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.
No comments yet. Languages: en.
Please log in to comment.