Vulnerability Name:

CVE-2020-8162 (CCN-183753)

Assigned:2020-05-19
Published:2020-05-19
Updated:2022-05-24
Summary: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.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): High
Availibility (A): None
7.5 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)
6.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): High
Availibility (A): None
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
7.8 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:C/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Complete
Availibility (A): None
Vulnerability Type:CWE-434
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2020-8162

Source: XF
Type: UNKNOWN
rails-cve20208162-sec-bypass(183753)

Source: MISC
Type: Mailing List, Patch, Third Party Advisory
https://groups.google.com/g/rubyonrails-security/c/PjU3946mreQ

Source: CCN
Type: Hackerone Web site
ActiveStorage direct upload fails to sign content-length header for S3 service

Source: MISC
Type: Exploit, Third Party Advisory
https://hackerone.com/reports/789579

Source: CCN
Type: Ruby on Rails Web site
Imagine what you could build if you learned Ruby on Rails

Source: DEBIAN
Type: Third Party Advisory
DSA-4766

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2020-8162

Vulnerable Configuration:Configuration 1:
  • cpe:/a:rubyonrails:rails:*:*:*:*:*:*:*:* (Version >= 6.0.0 and < 6.0.3.1)
  • OR cpe:/a:rubyonrails:rails:*:*:*:*:*:*:*:* (Version < 5.2.4.2)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:rubyonrails:rails:6.0.3:-:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:5.2.4.1:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:113381
    P
    ruby2.7-rubygem-activestorage-5.2-5.2.6-1.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:113382
    P
    ruby2.7-rubygem-activestorage-6.0-6.0.4-1.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:106788
    P
    ruby2.7-rubygem-activestorage-5.2-5.2.6-1.2 on GA media (Moderate)
    2021-10-01
    oval:org.opensuse.security:def:106789
    P
    ruby2.7-rubygem-activestorage-6.0-6.0.4-1.2 on GA media (Moderate)
    2021-10-01
    BACK
    rubyonrails rails *
    rubyonrails rails *
    debian debian linux 10.0
    rubyonrails rails 6.0.3 -
    rubyonrails rails 5.2.4.1