GraphicsMagick 1.3.26 Exception Reporting coders/wmf.c ReadWMFImage use after free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
A vulnerability described as critical has been identified in GraphicsMagick 1.3.26. This vulnerability affects the function ReadWMFImage of the file coders/wmf.c of the component Exception Reporting. Executing a manipulation can lead to use after free.
This vulnerability is registered as CVE-2017-12936. It is possible to launch the attack remotely. No exploit is available.
Upgrading the affected component is recommended.
Details
A vulnerability was found in GraphicsMagick 1.3.26 (Image Processing Software). It has been declared as critical. This vulnerability affects the function ReadWMFImage of the file coders/wmf.c of the component Exception Reporting. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
The ReadWMFImage function in coders/wmf.c in GraphicsMagick 1.3.26 has a use-after-free issue for data associated with exception reporting.
The bug was discovered 08/05/2017. The weakness was published 08/18/2017 (Website). The advisory is shared for download at hg.code.sf.net. This vulnerability was named CVE-2017-12936 since 08/18/2017. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 13 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 102890 (Debian DLA-1082-1 : graphicsmagick security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176510 (Debian Security Update for graphicsmagick (DSA 4321-1)).
Upgrading 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 (102890) and SecurityFocus (BID 102981†). Similar entries are available at VDB-102987, VDB-102992, VDB-102993 and VDB-103309. Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.4
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 102890
Nessus Name: Debian DLA-1082-1 : graphicsmagick security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 800516
OpenVAS Name: GraphicsMagick Multiple Vulnerabilities - Aug17 (Windows)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
08/05/2017 🔍08/18/2017 🔍
08/18/2017 🔍
08/18/2017 🔍
08/18/2017 🔍
08/31/2017 🔍
09/01/2017 🔍
02/08/2018 🔍
12/16/2022 🔍
Sources
Advisory: USN-4222-1Researcher: Bob Friesenhahn
Status: Confirmed
CVE: CVE-2017-12936 (🔍)
GCVE (CVE): GCVE-0-2017-12936
GCVE (VulDB): GCVE-100-105460
OVAL: 🔍
SecurityFocus: 102981 - GraphicsMagick CVE-2018-6799 Denial of Service Vulnerability
See also: 🔍
Entry
Created: 08/18/2017 22:52Updated: 12/16/2022 08:21
Changes: 08/18/2017 22:52 (76), 11/08/2019 10:13 (6), 01/09/2021 17:30 (2), 12/16/2022 08:21 (3)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.