CVE-2015-2963
Thoughtbot Paperclip vulnerability
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.
Affected products
Paperclip. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Thoughtbot Paperclip runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- jvn.jp/en/jp/JVN83881261/index.html · Vendor Advisory
- jvndb.jvn.jp/jvndb/JVNDB-2015-000088 · Vendor Advisory
- openwall.com/lists/oss-security/2015/06/19/3 · Vendor Advisory
- github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57 · Exploit
- robots.thoughtbot.com/paperclip-security-release · Vendor Advisory
- www.securityfocus.com/bid/75304
- nvd.nist.gov/vuln/detail/CVE-2015-2963
- cve.org/CVERecord?id=CVE-2015-2963
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.