Vulnerability Name:

CVE-2016-1000005 (CCN-176558)

Assigned:2016-07-05
Published:2020-02-17
Updated:2020-03-05
Summary:mcrypt_get_block_size did not enforce that the provided "module" parameter was a string, leading to type confusion if other types of data were passed in. This issue affects HHVM versions prior to 3.9.5, all versions between 3.10.0 and 3.12.3 (inclusive), and all versions between 3.13.0 and 3.14.1 (inclusive).
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
9.8 Critical (CCN 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 (CCN 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
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
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-843
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2016-1000005

Source: XF
Type: UNKNOWN
facebook-cve20161000005-code-exec(176558)

Source: CCN
Type: HHVM GIT Repository
Fix param types for mcrypt_get_block_size() to match PHP

Source: CONFIRM
Type: Patch, Third Party Advisory
https://github.com/facebook/hhvm/commit/39e7e177473350b3a5c34e8824af3b98e25efa89

Source: CCN
Type: Facebook Web site
CVE-2016-1000005

Source: CONFIRM
Type: Third Party Advisory
https://www.facebook.com/security/advisories/cve-2016-1000005

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2016-1000005

Vulnerable Configuration:Configuration 1:
  • cpe:/a:facebook:hhvm:*:*:*:*:*:*:*:* (Version < 3.9.5)
  • OR cpe:/a:facebook:hhvm:*:*:*:*:*:*:*:* (Version >= 3.10.0 and <= 3.12.3)
  • OR cpe:/a:facebook:hhvm:*:*:*:*:*:*:*:* (Version >= 3.13.0 and <= 3.14.1)

  • Configuration CCN 1:
  • cpe:/a:facebook:hhvm:3.10.0:*:*:*:*:*:*:*
  • OR cpe:/a:facebook:hhvm:3.12.3:*:*:*:*:*:*:*
  • OR cpe:/a:facebook:hhvm:3.13.0:*:*:*:*:*:*:*
  • OR cpe:/a:facebook:hhvm:3.14.1:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.xenial:def:201610000050000000
    V
    CVE-2016-1000005 on Ubuntu 16.04 LTS (xenial) - untriaged.
    2020-02-19
    oval:com.ubuntu.bionic:def:201610000050000000
    V
    CVE-2016-1000005 on Ubuntu 18.04 LTS (bionic) - untriaged.
    2020-02-19
    oval:com.ubuntu.artful:def:20161000005000
    V
    CVE-2016-1000005 on Ubuntu 17.10 (artful) - untriaged.
    2016-12-19
    oval:com.ubuntu.bionic:def:20161000005000
    V
    CVE-2016-1000005 on Ubuntu 18.04 LTS (bionic) - untriaged.
    2016-12-19
    oval:com.ubuntu.xenial:def:20161000005000
    V
    CVE-2016-1000005 on Ubuntu 16.04 LTS (xenial) - untriaged.
    2016-12-19
    BACK
    facebook hhvm *
    facebook hhvm *
    facebook hhvm *
    facebook hhvm 3.10.0
    facebook hhvm 3.12.3
    facebook hhvm 3.13.0
    facebook hhvm 3.14.1