Skip to main content
← All vulnerabilities
CVE-2019-11045

DirectoryIterator class silently truncates after a null byte

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.2.26, 7.3.13, 7.4.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • PHP Group PHP

    From 7.2.x · fixed in 7.2.26; From 7.3.x · fixed in 7.3.13; From 7.4.x · fixed in 7.4.1

References 13

bugs.php.net

lists.debian.org

security.netapp.com

lists.fedoraproject.org

usn.ubuntu.com

lists.opensuse.org

seclists.org

debian.org

tenable.com