Vulnerability Name:

CVE-2018-6334 (CCN-155027)

Assigned:2018-03-30
Published:2018-03-30
Updated:2019-10-09
Summary:Multipart-file uploads call variables to be improperly registered in the global scope. In cases where variables are not declared explicitly before being used this can lead to unexpected behavior. This affects all supported versions of HHVM prior to the patch (3.25.1, 3.24.5, and 3.21.9 and below).
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/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): High
Integrity (I): High
Availibility (A): High
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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): Low
Availibility (A): None
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
5.0 Medium (CCN 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
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-20
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2018-6334

Source: XF
Type: UNKNOWN
hhvm-cve20186334-sec-bypass(155027)

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/facebook/hhvm/commit/6937de5544c3eead3466b75020d8382080ed0cff

Source: CCN
Type: HHVM Blog, March 30, 2018
HHVM 3.25.2, HHVM 3.24.6, and 3.21.10 (CVE-2018-6334)

Source: MISC
Type: Patch, Third Party Advisory
https://hhvm.com/blog/2018/03/30/hhvm-3.25.2.html

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2018-6334

Vulnerable Configuration:Configuration 1:
  • cpe:/a:facebook:hhvm:*:*:*:*:*:*:*:* (Version <= 3.21.9)
  • OR cpe:/a:facebook:hhvm:*:*:*:*:*:*:*:* (Version >= 3.21.10 and <= 3.24.5)
  • OR cpe:/a:facebook:hhvm:*:*:*:*:*:*:*:* (Version >= 3.24.6 and <= 3.25.1)

  • Configuration CCN 1:
  • cpe:/a:facebook:hhvm:3.25.1:*:*:*:*:*:*:*
  • OR cpe:/a:facebook:hhvm:3.24.5:*:*:*:*:*:*:*
  • OR cpe:/a:facebook:hhvm:3.21.9:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.xenial:def:201863340000000
    V
    CVE-2018-6334 on Ubuntu 16.04 LTS (xenial) - untriaged.
    2018-12-31
    oval:com.ubuntu.bionic:def:20186334000
    V
    CVE-2018-6334 on Ubuntu 18.04 LTS (bionic) - untriaged.
    2018-12-31
    oval:com.ubuntu.xenial:def:20186334000
    V
    CVE-2018-6334 on Ubuntu 16.04 LTS (xenial) - untriaged.
    2018-12-31
    oval:com.ubuntu.bionic:def:201863340000000
    V
    CVE-2018-6334 on Ubuntu 18.04 LTS (bionic) - untriaged.
    2018-12-31
    oval:com.ubuntu.artful:def:20186334000
    V
    CVE-2018-6334 on Ubuntu 17.10 (artful) - untriaged.
    2018-04-04
    BACK
    facebook hhvm *
    facebook hhvm *
    facebook hhvm *
    facebook hhvm 3.25.1
    facebook hhvm 3.24.5
    facebook hhvm 3.21.9