Rapid7 Vulnerability & Exploit Database

Ruby on Rails: Unrestricted Upload of File with Dangerous Type (CVE-2020-8162)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Ruby on Rails: Unrestricted Upload of File with Dangerous Type (CVE-2020-8162)

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:P/A:N)
Published
06/19/2020
Created
06/27/2020
Added
06/26/2020
Modified
09/28/2020

Description

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

Solution(s)

  • ruby-on-rails-upgrade-5_2_4_2
  • ruby-on-rails-upgrade-6_0_3_1

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;