Fortinet Discovers Netgear R7800 Stack Buffer Overflow in CGI Handler

Summary

Fortinet's FortiGuard Labs has discovered multiple stack-based buffer overflows in Netgear routers.

Netgear is a global computer networking company based in San Jose, California, in the United States. It produces networking hardware for consumers, businesses, and service providers

There is stack based buffer overflow that can be triggered when the password recovery is enabled. The CGI handler does not perform boundary check on the attacker supplied input for the security questions which can eventually lead to stack buffer overflow

Solutions

FortiGuard Labs released the following FortiGate IPS signature which covers this specific vulnerability:

Netgear.NightHawk.X4S.Buffer.Overflow
Released May 14, 2018

Users should apply the latest update from the vendor

Timeline

Fortinet reported the vulnerability to Netgear on 14, May 2018

Netgear confirmed the vulnerability on 20, May 2018

Netgear released patch for the vulnerability on 07, September 2019

Acknowledgement

This vulnerability was discovered by Wayne Low of Fortinet's FortiGuard Labs.

IPS Subscription

Fortinet customers who subscribe to Fortinet's intrusion prevention (IPS) service should be protected against this vulnerability with the appropriate configuration parameters in place. Fortinet's IPS service is one component of FortiGuard Subscription Services, which also offer comprehensive solutions such as antivirus, Web content filtering and antispam capabilities. These services enable protection against threats on both application and network layers. FortiGuard Services are continuously updated by FortiGuard Labs, which enables Fortinet to deliver a combination of multi-layered security intelligence and true zero-day protection from new and emerging threats. These updates are delivered to all FortiGate, FortiMail and FortiClient products. Fortinet strictly follows responsible disclosure guidelines to ensure optimum protection during a threat's lifecycle.