9.8
CRITICAL
CVE-2018-12882
PHP PHP Use-After-Free Buffer Overflow in exif_read_from_impl
Description

exif_read_from_impl in ext/exif/exif.c in PHP 7.2.x through 7.2.7 allows attackers to trigger a use-after-free (in exif_read_from_file) because it closes a stream that it is not responsible for closing. The vulnerable code is reachable through the PHP exif_read_data function.

INFO

Published Date :

June 26, 2018, 3:29 a.m.

Last Modified :

March 12, 2019, 11:46 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2018-12882 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2018-12882 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Netapp storage_automation_store
1 Php php
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-12882.

URL Resource
http://www.securityfocus.com/bid/104551 Third Party Advisory VDB Entry
https://bugs.php.net/bug.php?id=76409 Issue Tracking Patch Vendor Advisory
https://security.netapp.com/advisory/ntap-20181109-0001/ Third Party Advisory
https://usn.ubuntu.com/3702-1/ Third Party Advisory
https://usn.ubuntu.com/3702-2/ Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 6 months, 2 weeks ago
1 stars 1 fork 1 watcher
Born at : Jan. 29, 2024, 7:04 a.m. This repo has been linked 80 different CVEs too.

hackerone one million reports

bugbountytips vulnerability-research

Updated: 1 year, 7 months ago
3 stars 1 fork 1 watcher
Born at : Oct. 15, 2022, 6:48 p.m. This repo has been linked 80 different CVEs too.

Research about the Zend Engine

zend-engine php-internals binary-exploitation

PHP

Updated: 3 months ago
257 stars 24 fork 24 watcher
Born at : June 24, 2020, 7:04 p.m. This repo has been linked 5 different CVEs too.

PoCs discovered through fuzzing which resulted in a CVE assignment.

fuzzing infosec cve security testcase poc

Prolog

Updated: 2 years ago
18 stars 11 fork 11 watcher
Born at : Nov. 12, 2016, 7:38 a.m. This repo has been linked 21 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-12882 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-12882 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Mar. 12, 2019

    Action Type Old Value New Value
    Changed Reference Type https://security.netapp.com/advisory/ntap-20181109-0001/ No Types Assigned https://security.netapp.com/advisory/ntap-20181109-0001/ Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:netapp:storage_automation_store:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Nov. 10, 2018

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20181109-0001/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Aug. 28, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.securityfocus.com/bid/104551 No Types Assigned http://www.securityfocus.com/bid/104551 Third Party Advisory, VDB Entry
    Changed Reference Type https://bugs.php.net/bug.php?id=76409 No Types Assigned https://bugs.php.net/bug.php?id=76409 Issue Tracking, Patch, Vendor Advisory
    Changed Reference Type https://usn.ubuntu.com/3702-2/ No Types Assigned https://usn.ubuntu.com/3702-2/ Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3702-1/ No Types Assigned https://usn.ubuntu.com/3702-1/ Third Party Advisory
    Added CWE CWE-416
    Added CPE Configuration OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.2.0 up to (including) 7.2.7
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • CVE Modified by [email protected]

    Jul. 07, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3702-2/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 06, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3702-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 28, 2018

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/104551 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-12882 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-12882 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.54 }} 0.04%

score

0.74664

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability