Skip to main content

Unrestricted Upload of File with Dangerous Type

CVE-2020-8162

Severity High
Score 7.5/10

Summary

A client side enforcement of server side security vulnerability exists in rails 5.0.0 through 5.2.4.2 and rails 6.0.0.beta1 through 6.0.3 ActiveStorage's S3 adapter that allows the Content-Length of a direct file upload to be modified by an end user bypassing upload limits.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • NONE

CWE-434 - Unrestricted Upload of File with dangerous type

'Unrestricted file upload with dangerous type' attacks involve an attacker uploading or transferring files of dangerous types to the server. The severity of such an attack depends upon the execution mechanism and the storage location of the uploaded file. Thus, it may range from simple defacement to arbitrary file execution, and complete system takeover.

Advisory Timeline

  • Published