Access Restriction Bypass Affecting paperclip package, versions < 4.0.0


0.0
medium

Snyk CVSS

    Attack Complexity Low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUBY-PAPERCLIP-20144
  • published 30 Jan 2014
  • disclosed 30 Jan 2014
  • credit Unknown

Introduced: 30 Jan 2014

CVE NOT AVAILABLE CWE-284 Open this link in a new tab

Overview

paperclip is an upload management for ActiveRecord. Affected versions of this gem are vulnerable to Restriction Bypass By Spoofing Content-Type Header.

Details

Paperclip Gem for Ruby contains a flaw that is due to the application failing to properly validate the file extension, instead only validating the Content-Type header during file uploads. This may allow a remote attacker to bypass restrictions on file types for uploaded files by spoofing the content-type.