You are here

PHP - null bytes in path - bypass file system access restrictions

IDs: 
CVE-2015-4025
Keywords: 
php, nullbyte
Description: 

PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 truncates a pathname upon encountering a \x00 character in certain situations, which allows remote attackers to bypass intended extension restrictions and access files or directories with unexpected names via a crafted argument.

Airlock WAF blocks null bytes in URIs (path als well as parameter name and values) and therefore protects vulnerable back-ends.

Resolution: 

No action required.

Component: 
Airlock
Airlock Vulnerability Status: 
Does not affect Airlock
Back-end Vulnerability Status: 
No action required