cve/2015/CVE-2015-2348.md

18 lines
921 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2015-2348](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-2348)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
The move_uploaded_file implementation in ext/standard/basic_functions.c in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 truncates a pathname upon encountering a \x00 character, which allows remote attackers to bypass intended extension restrictions and create files with unexpected names via a crafted second argument. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.
### POC
#### Reference
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
#### Github
No PoCs found on GitHub currently.