{"id":"CVE-2015-2963","sourceIdentifier":"vultures@jpcert.or.jp","published":"2015-07-10T17:59:00.093","lastModified":"2026-06-17T00:25:03.100","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Thoughtbot paperclip gem en versiones anteriores a la 4.2.2 para Ruby no tiene en cuenta el valor de tipo de contenido durante la validación de tipo de medios, lo que permite a atacantes remotos subir documentos HTML y realizar cross-site scripting (XSS) a través de un valor suplantado, como se demuestra por la imagen / jpeg."}],"affected":[{"source":"vultures@jpcert.or.jp","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:thoughtbot:paperclip:*:*:*:*:*:ruby:*:*","versionEndIncluding":"4.2.1","matchCriteriaId":"DE525443-1C61-4909-A20A-38209B765FBE"}]}]}],"references":[{"url":"http://jvn.jp/en/jp/JVN83881261/index.html","source":"vultures@jpcert.or.jp","tags":["Vendor Advisory"]},{"url":"http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088","source":"vultures@jpcert.or.jp","tags":["Vendor Advisory"]},{"url":"http://openwall.com/lists/oss-security/2015/06/19/3","source":"vultures@jpcert.or.jp","tags":["Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/75304","source":"vultures@jpcert.or.jp"},{"url":"https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57","source":"vultures@jpcert.or.jp","tags":["Exploit","Vendor Advisory"]},{"url":"https://robots.thoughtbot.com/paperclip-security-release","source":"vultures@jpcert.or.jp","tags":["Vendor Advisory"]},{"url":"http://jvn.jp/en/jp/JVN83881261/index.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://openwall.com/lists/oss-security/2015/06/19/3","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/75304","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Vendor Advisory"]},{"url":"https://robots.thoughtbot.com/paperclip-security-release","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]}]}