VDB-76407 · CVE-2015-2963 · BID 75304

Thoughtbot Paperclip Gem up to 4.2.1 on Ruby Upload 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.
4.1$0-$5k0.00

A vulnerability was found in Thoughtbot Paperclip Gem up to 4.2.1 on Ruby (Ruby Gem). It has been classified as problematic. This affects some unknown functionality of the component Upload Handler. 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 integrity. The summary by CVE is:

The thoughtbot paperclip gem before 4.2.2 for Ruby does not consider the content-type value during media-type validation, which allows remote attackers to upload HTML documents and conduct cross-site scripting (XSS) attacks via a spoofed value, as demonstrated by image/jpeg.

The weakness was disclosed 07/10/2015 (Website). It is possible to read the advisory at robots.thoughtbot.com. This vulnerability is uniquely identified as CVE-2015-2963 since 04/07/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. The technical details are unknown and an exploit is not publicly available. 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 84322 (FreeBSD : rubygem-paperclip -- validation bypass vulnerabilitiy (0f154810-16e4-11e5-a1cf-002590263bf5)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks.

Upgrading to version 4.2.2 eliminates this vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (84322).

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.3
VulDB Meta Temp Score: 4.1

VulDB Base Score: 4.3
VulDB Temp Score: 4.1
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-74 / CWE-707
ATT&CK: T1059.007

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 84322
Nessus Name: FreeBSD : rubygem-paperclip -- validation bypass vulnerabilitiy (0f154810-16e4-11e5-a1cf-002590263bf5)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Thoughtbot Paperclip Gem 4.2.2
Patch: github.com

Timelineinfo

04/07/2015 🔍
06/18/2015 +72 days 🔍
06/18/2015 +0 days 🔍
07/10/2015 +22 days 🔍
07/10/2015 +0 days 🔍
07/12/2015 +2 days 🔍
07/14/2015 +2 days 🔍
05/31/2022 +2513 days 🔍

Sourcesinfo

Advisory: 9aee4112f36058cd28d5fe4a006d6981bd1eda57
Status: Not defined
Confirmation: 🔍

CVE: CVE-2015-2963 (🔍)
Vulnerability Center: 51155 - Rubygem Paperclip before 4.2.2 Remote XSS via a Spoofed Value, Medium
SecurityFocus: 75304 - Ruby On Rails Paperclip CVE-2015-2963 Cross-Site Scripting Vulnerability

Entryinfo

Created: 07/12/2015 05:13 PM
Updated: 05/31/2022 08:17 AM
Changes: 07/12/2015 05:13 PM (60), 07/12/2017 12:11 PM (4), 05/31/2022 08:12 AM (4), 05/31/2022 08:17 AM (1)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!