Thoughtbot Paperclip Gem up to 4.2.1 on Ruby Upload cross site scripting
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
4.1 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Thoughtbot Paperclip Gem up to 4.2.1 on Ruby. It has been declared as problematic. This vulnerability affects unknown code of the component Upload Handler. The manipulation leads to cross site scripting. This vulnerability was named CVE-2015-2963. The attack can be initiated remotely. There is no exploit available. It is recommended to upgrade the affected component. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Details
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 databases at Tenable (84322), SecurityFocus (BID 75304†) and Vulnerability Center (SBV-51155†). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.3VulDB Meta Temp Score: 4.1
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
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-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 84322
Nessus Name: FreeBSD : rubygem-paperclip -- validation bypass vulnerabilitiy (0f154810-16e4-11e5-a1cf-002590263bf5)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Thoughtbot Paperclip Gem 4.2.2
Patch: github.com
Timeline
04/07/2015 🔍06/18/2015 🔍
06/18/2015 🔍
07/10/2015 🔍
07/10/2015 🔍
07/12/2015 🔍
07/14/2015 🔍
05/31/2022 🔍
Sources
Advisory: 9aee4112f36058cd28d5fe4a006d6981bd1eda57Status: Not defined
Confirmation: 🔍
CVE: CVE-2015-2963 (🔍)
GCVE (CVE): GCVE-0-2015-2963
GCVE (VulDB): GCVE-100-76407
SecurityFocus: 75304 - Ruby On Rails Paperclip CVE-2015-2963 Cross-Site Scripting Vulnerability
Vulnerability Center: 51155 - Rubygem Paperclip before 4.2.2 Remote XSS via a Spoofed Value, Medium
Entry
Created: 07/12/2015 17:13Updated: 05/31/2022 08:17
Changes: 07/12/2015 17:13 (60), 07/12/2017 12:11 (4), 05/31/2022 08:12 (4), 05/31/2022 08:17 (1)
Complete: 🔍
Cache ID: 216:229:103
No comments yet. Languages: en.
Please log in to comment.