CVE-2015-2963

medium

Description

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.

References

https://robots.thoughtbot.com/paperclip-security-release

http://www.securityfocus.com/bid/75304

http://openwall.com/lists/oss-security/2015/06/19/3

http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088

http://jvn.jp/en/jp/JVN83881261/index.html

Details

Source: Mitre, NVD

Published: 2015-07-10

Updated: 2016-12-03

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 6.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Severity: Medium