PHP DirectoryIterator Class Vulnerability: Embedded Null Byte Termination

PHP DirectoryIterator Class Vulnerability: Embedded Null Byte Termination

CVE-2019-11045 · MEDIUM Severity

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP DirectoryIterator class accepts filenames with embedded \0 byte and treats them as terminating at that byte. This could lead to security vulnerabilities, e.g. in applications checking paths that the code is allowed to access.

Learn more about our Web Application Penetration Testing UK.