CVE-2018-12882

critical
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

http://www.securityfocus.com/bid/104551

https://bugs.php.net/bug.php?id=76409

https://security.netapp.com/advisory/ntap-20181109-0001/

https://usn.ubuntu.com/3702-1/

https://usn.ubuntu.com/3702-2/

Details

Source: MITRE

Published: 2018-06-26

Updated: 2019-03-12

Type: CWE-416

Risk Information

CVSS v2

Base Score: 7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 10

Severity: HIGH

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 3.9

Severity: CRITICAL

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from 7.2.0 to 7.2.7 (inclusive)

Configuration 2

OR

cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*

Configuration 3

OR

cpe:2.3:a:netapp:storage_automation_store:-:*:*:*:*:*:*:*

Tenable Plugins

View all (16 total)

IDNameProductFamilySeverity
123220openSUSE Security Update : php7 (openSUSE-2019-522)NessusSuSE Local Security Checks
critical
98879PHP 7.2.x < 7.2.8 Use After Free Arbitrary Code Execution in EXIFWeb Application ScanningComponent Vulnerability
critical
98878PHP 7.0.x < 7.0.31 Use After Free Arbitrary Code Execution in EXIFWeb Application ScanningComponent Vulnerability
critical
120095SUSE SLES12 Security Update : php5 (SUSE-SU-2018:2682-1)NessusSuSE Local Security Checks
critical
120042SUSE SLES15 Security Update : php7 (SUSE-SU-2018:1936-2)NessusSuSE Local Security Checks
critical
120041SUSE SLES15 Security Update : php7 (SUSE-SU-2018:1936-1)NessusSuSE Local Security Checks
critical
120033SUSE SLES12 Security Update : php7 (SUSE-SU-2018:1886-1)NessusSuSE Local Security Checks
critical
117477openSUSE Security Update : php5 (openSUSE-2018-998)NessusSuSE Local Security Checks
critical
112094Amazon Linux AMI : php72 (ALAS-2018-1067)NessusAmazon Linux Local Security Checks
critical
111265SUSE SLES11 Security Update : php53 (SUSE-SU-2018:2044-1)NessusSuSE Local Security Checks
critical
111216PHP 7.2.x < 7.2.8 Use After Free Arbitrary Code Execution in EXIFNessusCGI abuses
critical
111215PHP 7.0.x < 7.0.31 Use After Free Arbitrary Code Execution in EXIFNessusCGI abuses
critical
111194openSUSE Security Update : php7 (openSUSE-2018-737)NessusSuSE Local Security Checks
critical
110964openSUSE Security Update : php7 (openSUSE-2018-708)NessusSuSE Local Security Checks
critical
110940Ubuntu 18.04 LTS : php7.2 vulnerability (USN-3702-2)NessusUbuntu Local Security Checks
critical
110924Ubuntu 18.04 LTS : php7.2 vulnerability (USN-3702-1)NessusUbuntu Local Security Checks
critical