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 |
A vulnerability, which was classified as problematic, has been found in Ruby on Rails 3.0/4.0 (Programming Language Software). Affected by this issue is the function rails-html-sanitizer
. 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 confidentiality, and integrity. CVE summarizes:
Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem 1.0.2 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject arbitrary web script or HTML via an HTML entity that is mishandled by the Rails::Html::FullSanitizer class.
The weakness was presented 01/25/2016 by Arthur with Github as confirmed release notes (Website). The advisory is available at weblog.rubyonrails.org. This vulnerability is handled as CVE-2015-7579 since 09/29/2015. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1059.007 by the MITRE ATT&CK project.
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 124814 (Fedora Security Update for rubygem-rails-html-sanitizer (FEDORA-2016-3a2606f993)).
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 (110102) and Tenable (88606). See 80675, 80676, 80677 and 80679 for similar entries.
Product
Type
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.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-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
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/25/2016 🔍
01/27/2016 🔍
02/08/2016 🔍
02/15/2016 🔍
03/03/2016 🔍
03/14/2016 🔍
07/06/2022 🔍
Sources
Advisory: 49dfc1584c5b8e35a4ffabf8356ba3df025e8d3fResearcher: Arthur
Organization: Github
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2015-7579 (🔍)
X-Force: 110102 - Ruby on Rails rails-html-sanitizer cross-site scripting
SecurityTracker: 1034816
Vulnerability Center: 57266 - ails-html-sanitizer gem 1.0.2 for Ruby on Rails Remote XSS via a Mishandled HTML Entity, Medium
SecurityFocus: 81804 - Ruby On Rails rails-html-sanitizer CVE-2015-7579 Cross-Site Scripting Vulnerability
See also: 🔍
Entry
Created: 01/27/2016 10:45Updated: 07/06/2022 10:52
Changes: 01/27/2016 10:45 (77), 01/31/2019 13:37 (12), 07/06/2022 10:46 (5), 07/06/2022 10:52 (1)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.