cve/2018/CVE-2018-12882.md

21 lines
898 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2018-12882](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12882)
![](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
exif_read_from_impl in ext/exif/exif.c in PHP 7.2.x through 7.2.7 allows attackers to trigger a use-after-free (in exif_read_from_file) because it closes a stream that it is not responsible for closing. The vulnerable code is reachable through the PHP exif_read_data function.
### POC
#### Reference
- https://hackerone.com/reports/371135
#### Github
- https://github.com/0xbigshaq/php7-internals
- https://github.com/RClueX/Hackerone-Reports
- https://github.com/geeknik/cve-fuzzing-poc
- https://github.com/imhunterand/hackerone-publicy-disclosed