Ruby on Rails 3.0.16/3.1.7/3.2.7 Helper Method select_tag 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 was found in Ruby on Rails 3.0.16/3.1.7/3.2.7. It has been declared as problematic. Affected is the function select_tag of the component Helper Method. The manipulation results in cross site scripting. This vulnerability was named CVE-2012-3463. The attack may be performed from remote. In addition, an exploit is available. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability was found in Ruby on Rails 3.0.16/3.1.7/3.2.7 (Programming Language Software). It has been classified as problematic. Affected is the function select_tag of the component Helper Method. 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, integrity, and availability. CVE summarizes:

Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/form_tag_helper.rb in Ruby on Rails 3.x before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8 allows remote attackers to inject arbitrary web script or HTML via the prompt field to the select_tag helper.

The weakness was presented 08/09/2012 as not defined advisory (Website). The advisory is shared for download at groups.google.com. This vulnerability is traded as CVE-2012-3463 since 06/14/2012. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Successful exploitation requires user interaction by the victim. Technical details and a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1059.007.

After immediately, there has been an exploit disclosed. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 61636 (Fedora 17 : rubygem-actionpack-3.0.11-7.fc17 (2012-11885)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12629 (Ruby on Rails Multiple Cross-Site Scripting Vulnerabilities).

Upgrading to version 3.0.17, 3.1.8,3.2.8 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 (77570), Tenable (61636), SecurityFocus (BID 54959†), OSVDB (84515†) and Secunia (SA50128†). See VDB-5926 and VDB-5929 for similar entries. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

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: 🔍
Access: Public
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 61636
Nessus Name: Fedora 17 : rubygem-actionpack-3.0.11-7.fc17 (2012-11885)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 71507
OpenVAS Name: FreeBSD Ports: rubygem-rails
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: 🔍
Exploit Delay Time: 🔍

Upgrade: Ruby on Rails 3.0.17, 3.1.8,3.2.8

Timelineinfo

06/14/2012 🔍
08/09/2012 +56 days 🔍
08/09/2012 +0 days 🔍
08/09/2012 +0 days 🔍
08/09/2012 +0 days 🔍
08/09/2012 +0 days 🔍
08/10/2012 +1 days 🔍
08/10/2012 +0 days 🔍
08/11/2012 +1 days 🔍
08/15/2012 +4 days 🔍
08/16/2012 +1 days 🔍
08/23/2012 +7 days 🔍
03/27/2021 +3138 days 🔍

Sourcesinfo

Advisory: groups.google.com
Status: Not defined
Confirmation: 🔍

CVE: CVE-2012-3463 (🔍)
GCVE (CVE): GCVE-0-2012-3463
GCVE (VulDB): GCVE-100-5928
X-Force: 77570
SecurityFocus: 54959 - Ruby on Rails 'select_tag()' Method CVE-2012-3463 Cross Site Scripting Vulnerability
Secunia: 50128 - Ruby on Rails Three Cross-Site Scripting Vulnerabilities, Less Critical
OSVDB: 84515
Vulnerability Center: 35913 - Ruby on Rails 3.x XSS Vulnerability via The Prompt Field to The Select_Tag Helper, Medium

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 08/15/2012 17:41
Updated: 03/27/2021 10:23
Changes: 08/15/2012 17:41 (75), 04/15/2017 16:39 (10), 03/27/2021 10:23 (3)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!