Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

Mori Shingo

Researcher fromDeNA Co., Ltd.
#51490of 53,632
4.3Total CVSS
Vulnerabilities · 1
PT-2015-6011
4.3
2015-07-10
Ruby · Paperclip · CVE-2015-2963
**Name of the Vulnerable Software and Affected Versions** paperclip gem versions prior to 4.2.2 **Description** The issue allows remote attackers to upload HTML documents and conduct cross-site scripting (XSS) attacks via a spoofed content-type value. This can be achieved by providing a false `content-type` value, such as `image/jpeg`, to bypass media-type validation and upload malicious files. **Recommendations** For versions prior to 4.2.2, update to version 4.2.2 or later to resolve the issue. As a temporary workaround, consider implementing additional validation for the `content-type` value to prevent spoofing attacks. Restrict access to upload functionality to minimize the risk of exploitation.