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
Link | Resource |
---|---|
http://jvn.jp/en/jp/JVN83881261/index.html | Vendor Advisory |
http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088 | Vendor Advisory |
http://openwall.com/lists/oss-security/2015/06/19/3 | Vendor Advisory |
http://www.securityfocus.com/bid/75304 | |
https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57 | Exploit Vendor Advisory |
https://robots.thoughtbot.com/paperclip-security-release | Vendor Advisory |
Configurations
History
No history.
Information
Published : 2015-07-10 17:59
Updated : 2024-02-04 18:53
NVD link : CVE-2015-2963
Mitre link : CVE-2015-2963
CVE.ORG link : CVE-2015-2963
JSON object : View
Products Affected
thoughtbot
- paperclip
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')