cve/2019/CVE-2019-6977.md

26 lines
1.2 KiB
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2019-6977](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6977)
![](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
gdImageColorMatch in gd_color_match.c in the GD Graphics Library (aka LibGD) 2.2.5, as used in the imagecolormatch function in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1, has a heap-based buffer overflow. This can be exploited by an attacker who is able to trigger imagecolormatch calls with crafted image data.
### POC
#### Reference
- http://packetstormsecurity.com/files/152459/PHP-7.2-imagecolormatch-Out-Of-Band-Heap-Write.html
- https://bugs.php.net/bug.php?id=77270
- https://hackerone.com/reports/478368
- https://www.exploit-db.com/exploits/46677/
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/FishyStix12/BH.py-CharCyCon2024
- https://github.com/SexyBeast233/SecBooks
- https://github.com/alphaSeclab/sec-daily-2019
- https://github.com/ozkanbilge/Apache-Exploit-2019
- https://github.com/scannells/exploits