|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #60985 filesystem functions null-byte safe now
Submitted: 2012-02-06 10:04 UTC Modified: 2020-09-30 13:21 UTC
From: Assigned:
Status: Verified Package: Filesystem function related
PHP Version: Irrelevant OS: irrevelant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
19 - 4 = ?
Subscribe to this entry?

 [2012-02-06 10:04 UTC]
------------ got fixed so since php 5.3.4, the file 
system functions seems to be immune to the null byte poisioning.
which means the the 
page needs a little bit refactoring (or maybe a complete removal) as the example 
there isn't vulnerable anymore.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-12-30 15:58 UTC]
Has it been completely fixed?
There is a note saying this bug still exists with the include and require functions.
 [2020-09-30 13:21 UTC]
-Status: Open +Status: Verified
 [2020-09-30 13:21 UTC]
Yes, that include/require have been also fixed back then; they
just don't report anything about an invalid path.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Dec 04 14:05:54 2022 UTC