4.3
MEDIUM
CVE-2015-3226
Ruby on Rails Active Support XSS Encoder Vulnerability
Description

Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.

INFO

Published Date :

July 26, 2015, 10:59 p.m.

Last Modified :

Nov. 21, 2024, 2:28 a.m.

Remotely Exploitable :

Yes !

Impact Score :

2.9

Exploitability Score :

8.6
Affected Products

The following products are affected by CVE-2015-3226 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Rubyonrails rails
2 Rubyonrails ruby_on_rails

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2015-3226 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2015-3226 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://openwall.com/lists/oss-security/2015/06/16/17
    Added Reference http://www.debian.org/security/2016/dsa-3464
    Added Reference http://www.securityfocus.com/bid/75231
    Added Reference http://www.securitytracker.com/id/1033755
    Added Reference https://groups.google.com/forum/message/raw?msg=rubyonrails-security/7VlB_pck3hU/3QZrGIaQW6cJ
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.1.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.4:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.4:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.3:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.3:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.2:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.17:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.17:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.16:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.16:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.12:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.12:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.11:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.11:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.10:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.10:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.6:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.6:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.5:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.5:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.15:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.15:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.13:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.13:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.9:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.9:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.8:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.8:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.7:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.7:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.2.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.1.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.1.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.8:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.1.8:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.7:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.1.7:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.5:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.1.5:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.4:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.1.4:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.3:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.1.3:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.1.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.6:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.1.6:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.2:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.1.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.0.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:3.0.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:ruby_on_rails:3.0.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Sep. 16, 2017

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1033755 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 06, 2016

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2016/dsa-3464 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/75231 [No Types Assigned]
  • Modified Analysis by [email protected]

    Jul. 27, 2015

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.8:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.7:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.6:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.5:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.4:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.3:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.2:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.1:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.0:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.17:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.16:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.15:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.14:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.13:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.12:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.11:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.10:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.9:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.8:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.7:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.6:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.5:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.4:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.3:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.2:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.1:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.0:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.1.0:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:3.0:*:*:*:*:*:*:*
    Added CVSS V2 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
    Changed Reference Type https://groups.google.com/forum/message/raw?msg=rubyonrails-security/7VlB_pck3hU/3QZrGIaQW6cJ No Types Assigned https://groups.google.com/forum/message/raw?msg=rubyonrails-security/7VlB_pck3hU/3QZrGIaQW6cJ Advisory
    Added CWE CWE-79
  • Initial Analysis by [email protected]

    Jul. 27, 2015

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jul. 27, 2015

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jul. 27, 2015

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2015-3226 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2015-3226 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.25 }} -0.00%

score

0.64385

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability