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 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.
Link | Tags |
---|---|
http://www.securityfocus.com/bid/75304 | vdb entry |
https://robots.thoughtbot.com/paperclip-security-release | vendor advisory |
https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57 | exploit vendor advisory |
http://jvn.jp/en/jp/JVN83881261/index.html | third party advisory vendor advisory |
http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088 | third party advisory vendor advisory |
http://openwall.com/lists/oss-security/2015/06/19/3 | mailing list vendor advisory |