Ruby on Rails 3.0/4.0 rails-html-sanitizer cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.7 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in Ruby on Rails 3.0/4.0. Impacted is the function rails-html-sanitizer. Performing a manipulation results in cross site scripting.
This vulnerability is cataloged as CVE-2015-7580. It is possible to initiate the attack remotely. There is no exploit available.
It is suggested to upgrade the affected component.
Details
A vulnerability, which was classified as problematic, was found in Ruby on Rails 3.0/4.0 (Programming Language Software). This affects the function rails-html-sanitizer. The manipulation with an unknown input leads to a cross site scripting vulnerability. CWE is classifying the issue as 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. This is going to have an impact on confidentiality, and integrity. The summary by CVE is:
Cross-site scripting (XSS) vulnerability in lib/rails/html/scrubbers.rb in the rails-html-sanitizer gem before 1.0.3 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject arbitrary web script or HTML via a crafted CDATA node.
The weakness was shared 01/25/2016 as confirmed release notes (Website). It is possible to read the advisory at weblog.rubyonrails.org. This vulnerability is uniquely identified as CVE-2015-7580 since 09/29/2015. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for 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 88606 (openSUSE Security Update : rubygem-rails-html-sanitizer (openSUSE-2016-148)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 124817 (Fedora Security Update for rubygem-rails-html-sanitizer (FEDORA-2016-59ce8b61dd)).
Upgrading to version 3.2.22.1, 4.1.14.1 or 4.2.5.1 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (110103) and Tenable (88606). The entries VDB-80675, VDB-80676, VDB-80677 and VDB-80678 are related to this item. Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.1VulDB Meta Temp Score: 5.7
VulDB Base Score: 6.1
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.1
NVD Vector: 🔍
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: Unproven
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 88606
Nessus Name: openSUSE Security Update : rubygem-rails-html-sanitizer (openSUSE-2016-148)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for rubygem-rails-html-sanitizer FEDORA-2016-59
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.22.1/4.1.14.1/4.2.5.1
Patch: github.com
Timeline
09/29/2015 🔍01/25/2016 🔍
01/25/2016 🔍
01/27/2016 🔍
02/08/2016 🔍
02/15/2016 🔍
07/06/2022 🔍
Sources
Advisory: 63903b0eaa6d2a4e1c91bc86008256c4c8335e78Status: Confirmed
Confirmation: 🔍
CVE: CVE-2015-7580 (🔍)
GCVE (CVE): GCVE-0-2015-7580
GCVE (VulDB): GCVE-100-80679
X-Force: 110103 - Ruby on Rails rails-html-sanitizer cross-site scripting
SecurityTracker: 1034816
See also: 🔍
Entry
Created: 01/27/2016 10:45Updated: 07/06/2022 10:58
Changes: 01/27/2016 10:45 (58), 07/05/2018 09:05 (19), 07/06/2022 10:58 (5)
Complete: 🔍
Cache ID: 216:45A:103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.