PHP up to 5.6.32/7.0.26/7.1.12/7.2.0 GD Graphics Library gd_gif_in.c imagecreatefromgif/imagecreatefromstring Infinite Loop resource consumption

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.
5.3$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic has been found in PHP up to 5.6.32/7.0.26/7.1.12/7.2.0. This impacts the function imagecreatefromgif/imagecreatefromstring of the file gd_gif_in.c of the component GD Graphics Library. This manipulation as part of Infinite Loop causes resource consumption. This vulnerability is handled as CVE-2018-5711. The attack can be initiated remotely. There is not any exploit available. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability has been found in PHP up to 5.6.32/7.0.26/7.1.12/7.2.0 (Programming Language Software) and classified as problematic. Affected by this vulnerability is the function imagecreatefromgif/imagecreatefromstring of the file gd_gif_in.c of the component GD Graphics Library. The manipulation as part of a Infinite Loop leads to a resource consumption vulnerability. The CWE definition for the vulnerability is CWE-400. The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources. As an impact it is known to affect availability. The summary by CVE is:

gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1, has an integer signedness error that leads to an infinite loop via a crafted GIF file, as demonstrated by a call to the imagecreatefromgif or imagecreatefromstring PHP function. This is related to GetCode_ and gdImageCreateFromGifCtx.

The bug was discovered 01/16/2018. The weakness was released 01/16/2018 (Website). The advisory is shared at php.net. This vulnerability is known as CVE-2018-5711 since 01/16/2018. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1499 for this issue.

The vulnerability scanner Nessus provides a plugin with the ID 106470 (SUSE SLED12 / SLES12 Security Update : gd (SUSE-SU-2018:0260-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 170731 (SUSE Enterprise Linux Security Update for php7 (SUSE-SU-2018:0308-1)).

Upgrading to version 5.6.33, 7.0.27, 7.1.13 or 7.2.1 eliminates this vulnerability. A possible mitigation has been published 2 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (106470) and SecurityFocus (BID 106731†). Entries connected to this vulnerability are available at VDB-67396, VDB-67398, VDB-67420 and VDB-67724. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.4
VulDB Meta Temp Score: 5.3

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Resource consumption
CWE: CWE-400 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 106470
Nessus Name: SUSE SLED12 / SLES12 Security Update : gd (SUSE-SU-2018:0260-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 100351
OpenVAS Name: PHP PHAR Error Page Reflected XSS And DoS Vulnerabilities (Windows)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: PHP 5.6.33/7.0.27/7.1.13/7.2.1

Timelineinfo

01/16/2018 🔍
01/16/2018 +0 days 🔍
01/16/2018 +0 days 🔍
01/16/2018 +0 days 🔍
01/16/2018 +0 days 🔍
01/29/2018 +13 days 🔍
01/30/2018 +1 days 🔍
01/26/2019 +361 days 🔍
01/20/2023 +1455 days 🔍

Sourcesinfo

Product: php.org

Advisory: RHSA-2018:1296
Researcher: sscannell
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2018-5711 (🔍)
GCVE (CVE): GCVE-0-2018-5711
GCVE (VulDB): GCVE-100-111901
SecurityFocus: 106731 - LibGD CVE-2019-6977 Heap Buffer Overflow Vulnerability

See also: 🔍

Entryinfo

Created: 01/16/2018 15:58
Updated: 01/20/2023 21:04
Changes: 01/16/2018 15:58 (78), 12/23/2019 15:49 (5), 01/30/2021 08:08 (2), 01/20/2023 21:04 (3)
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.

Do you want to use VulDB in your project?

Use the official API to access entries easily!