HHVM up to 3.21.9/3.24.5/3.25.1 Multipart File Upload Variable variable extraction error

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
9.6$0-$5k0.00

Summaryinfo

A vulnerability was found in HHVM up to 3.21.9/3.24.5/3.25.1. It has been rated as critical. The impacted element is an unknown function of the component Multipart File Upload. The manipulation as part of Variable leads to input validation. This vulnerability is uniquely identified as CVE-2018-6334. The attack is possible to be carried out remotely. No exploit exists.

Detailsinfo

A vulnerability was found in HHVM up to 3.21.9/3.24.5/3.25.1 and classified as very critical. This issue affects an unknown function of the component Multipart File Upload. The manipulation as part of a Variable leads to a input validation vulnerability. Using CWE to declare the problem leads to CWE-621. The product uses external input to determine the names of variables into which information is extracted, without verifying that the names of the specified variables are valid. This could cause the program to overwrite unintended variables. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

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).

The bug was discovered 03/30/2018. The weakness was disclosed 12/31/2018 (Website). The advisory is shared at github.com. The identification of this vulnerability is CVE-2018-6334 since 01/26/2018. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Neither technical details nor an exploit are publicly available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 05/06/2025).

The vulnerability was handled as a non-public zero-day exploit for at least 276 days. During that time the estimated underground price was around $0-$5k.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The entries VDB-128601, VDB-128600 and VDB-128598 are pretty similar. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.8
VulDB Meta Temp Score: 9.6

VulDB Base Score: 9.8
VulDB Temp Score: 9.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Variable extraction error
CWE: CWE-621
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Patch: github.com

Timelineinfo

01/26/2018 🔍
03/30/2018 +63 days 🔍
12/31/2018 +276 days 🔍
12/31/2018 +0 days 🔍
01/01/2019 +1 days 🔍
05/06/2025 +2317 days 🔍

Sourcesinfo

Advisory: 6937de5544c3eead3466b75020d8382080ed0cff
Status: Confirmed

CVE: CVE-2018-6334 (🔍)
GCVE (CVE): GCVE-0-2018-6334
GCVE (VulDB): GCVE-100-128597
See also: 🔍

Entryinfo

Created: 01/01/2019 12:13
Updated: 05/06/2025 21:48
Changes: 01/01/2019 12:13 (57), 04/25/2020 16:19 (1), 06/22/2023 15:12 (4), 05/06/2025 21:48 (22)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!