ImageMagick magick/profile.c double free

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

Summaryinfo

A vulnerability was found in ImageMagick. It has been rated as critical. The affected element is an unknown function of the file magick/profile.c. Performing a manipulation results in double free. This vulnerability is identified as CVE-2017-5506. The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability was found in ImageMagick (Image Processing Software) (version unknown). It has been classified as critical. This affects an unknown function of the file magick/profile.c. The manipulation with an unknown input leads to a double free vulnerability. CWE is classifying the issue as CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Double free vulnerability in magick/profile.c in ImageMagick allows remote attackers to have unspecified impact via a crafted file.

The bug was discovered 12/26/2016. The weakness was released 03/24/2017 by Bastien Roucaries (oss-sec). It is possible to read the advisory at openwall.com. This vulnerability is uniquely identified as CVE-2017-5506 since 01/16/2017. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 53 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 97252 (GLSA-201702-09 : ImageMagick: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 175977 (Debian Security Update for imagemagick (DSA 3799-1)).

Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (97252) and SecurityFocus (BID 95753†). Entries connected to this vulnerability are available at VDB-97469, VDB-98501, VDB-98502 and VDB-98503. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.4

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Double free
CWE: CWE-415 / CWE-119
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: 97252
Nessus Name: GLSA-201702-09 : ImageMagick: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 703799
OpenVAS Name: Debian Security Advisory DSA 3799-1 (imagemagick - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Patch: github.com

Timelineinfo

12/26/2016 🔍
01/16/2017 +21 days 🔍
01/24/2017 +8 days 🔍
02/17/2017 +24 days 🔍
02/21/2017 +4 days 🔍
03/24/2017 +31 days 🔍
03/24/2017 +0 days 🔍
03/24/2017 +0 days 🔍
11/15/2022 +2062 days 🔍

Sourcesinfo

Product: imagemagick.org

Advisory: 9a069e0f2e027ec5138f998023cf9cb62c04889f
Researcher: Bastien Roucaries
Status: Not defined
Confirmation: 🔍

CVE: CVE-2017-5506 (🔍)
GCVE (CVE): GCVE-0-2017-5506
GCVE (VulDB): GCVE-100-98511

OVAL: 🔍

SecurityFocus: 95753 - Imagemagick CVE-2017-5506 Local Memory Corruption Vulnerability
OSVDB: - CVE-2017-5506 - ImageMagick - Double Free Issue

See also: 🔍

Entryinfo

Created: 03/24/2017 18:58
Updated: 11/15/2022 09:33
Changes: 03/24/2017 18:58 (76), 09/14/2020 07:08 (4), 11/15/2022 09:33 (4)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!