Ruby on Rails 3.0/4.0 rails-html-sanitizer 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.
5.7$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.1
VulDB 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: 🔍

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: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Timelineinfo

09/29/2015 🔍
01/25/2016 +118 days 🔍
01/25/2016 +0 days 🔍
01/27/2016 +2 days 🔍
02/08/2016 +12 days 🔍
02/15/2016 +7 days 🔍
07/06/2022 +2333 days 🔍

Sourcesinfo

Advisory: 63903b0eaa6d2a4e1c91bc86008256c4c8335e78
Status: 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: 🔍

Entryinfo

Created: 01/27/2016 10:45
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!