PT-2019-4727 · Php+7 · Php+7

Published

2019-12-21

·

Updated

2022-12-20

·

CVE-2019-11045

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions PHP versions 7.2.x through 7.2.25 PHP versions 7.3.x through 7.3.12 PHP version 7.4.0
Description The issue arises from the PHP DirectoryIterator class accepting filenames with embedded 0 byte and treating them as terminating at that byte. This could lead to security issues, such as in applications checking paths that the code is allowed to access. The vulnerability is due to insufficient input validation in the PHP DirectoryIterator class implementation, which may allow a remote attacker to disclose protected information.
Recommendations For PHP version 7.2.x, update to version 7.2.26 or later. For PHP version 7.3.x, update to version 7.3.13 or later. For PHP version 7.4.0, update to a version later than 7.4.0. As a temporary workaround, consider restricting the use of the DirectoryIterator class until a patch is available.

Exploit

Fix

Special Elements Injection

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2020:3662
ALT-PU-2019-3355
ALT-PU-2019-3390
ALT-PU-2020-1149
ALT-PU-2020-1206
BDU:2020-01278
CESA-2020_3662
CVE-2019-11045
DLA-2050-1
DSA-4626-1
DSA-4628-1
MGASA-2019-0412
OPENSUSE-SU-2020:0080-1
OPENSUSE-SU-2020_0080-1
OPENSUSE-SU-2022_4067-1
RHSA-2020:3662
RHSA-2020:5275
RHSA-2020_3662
RLSA-2020:3662
SUSE-SU-2020:0101-1
SUSE-SU-2020:0267-1
SUSE-SU-2020:0352-1
SUSE-SU-2020:0522-1
SUSE-SU-2020:14289-1
SUSE-SU-2020_0101-1
SUSE-SU-2020_0267-1
SUSE-SU-2020_0352-1
SUSE-SU-2020_14289-1
SUSE-SU-2022:4067-1
USN-4239-1

Affected Products

Alt Linux
Almalinux
Centos
Php
Red Hat
Rocky Linux
Suse
Ubuntu