PHP.net PHP php_jpg_get16 Method Heap Buffer Overflow Vulnerability [CVE-2019-11040]
CVE Number – CVE-2019-11040
A vulnerability in PHP could allow an unauthenticated, remote attacker to access sensitive information or cause a denial of service (DoS) condition on a targeted system.
The vulnerability exists in the php_jpg_get16 method, as defined in the ext/exif/exif.c source code file of the affected software, and is due to improper memory operations that are performed by PHP. The vulnerability manifests as a heap buffer overflow memory error condition. An attacker could exploit this vulnerability by sending requests that submit malicious input to the system. A successful exploit could allow the attacker to access sensitive information or cause a DoS condition on the system.
PHP.net has confirmed the vulnerability and released software updates.
Analysis
- To exploit this vulnerability, an attacker must send a request that submits malicious input to the targeted system, making exploitation more difficult in environments that restrict network access from untrusted sources.
Safeguards
- Administrators are advised to apply the appropriate updates.
Administrators are advised to allow only trusted users to have network access.
Administrators are advised to run both firewall and antivirus applications to minimize the potential of inbound and outbound threats.
Administrators may consider using IP-based access control lists (ACLs) to allow only trusted systems to access the affected systems.
Administrators can help protect affected systems from external attacks by using a solid firewall strategy.
Administrators are advised to monitor affected systems.
Vendor Announcements
- PHP.net has confirmed the vulnerability in a bug report and Changelog at the following links: Sec Bug #77988 heap-buffer-overflow on php_jpg_get16 and Version 7.1.30
Fixed Software
- PHP.net has released software updates at the following link: PHP Downloads
![PHP.net PHP php_jpg_get16 Method Heap Buffer Overflow Vulnerability [CVE-2019-11040]](https://i0.wp.com/www.systemtek.co.uk/wp-content/uploads/2022/01/blank-profile-hi.png?resize=100%2C100)
Duncan is a technology professional with over 20 years experience of working in various IT roles. He has a interest in cyber security, and has a wide range of other skills in radio, electronics and telecommunications.