Overview
The vulnerability resides in the genacgi_main function of the gena.cgi file, part of the GENA Handler component. An attacker can craft malicious input that is passed to the operating system without proper validation, allowing arbitrary command execution on the device. The issue is present in firmware version 2.17b02 for the D-Link DIR-600L router.
Technical details
The flaw is an OS command injection in the genacgi_main function of gena.cgi. Remote attackers send specially crafted HTTP requests to the gena.cgi endpoint, causing unsanitized input to be interpreted by the system shell. Successful exploitation requires network access to the router's management interface and the presence of firmware version 2.17b02.
Impact
An attacker who exploits this vulnerability can execute arbitrary commands with the privileges of the router’s firmware, potentially taking full control of the device, modifying configuration, intercepting traffic, or using it as a pivot point. All deployments of D-Link DIR-600L running firmware 2.17b02 are exposed.
Recommended actions
- Patch the device with a vendor-released update as soon as it becomes available.
- Restrict network access to the router’s management interface to trusted hosts only.
- Disable or block external access to the gena.cgi endpoint if it is not required for normal operation.
- Monitor web server logs for unusual requests to gena.cgi and signs of command injection patterns.
- Implement intrusion detection signatures that flag suspicious CGI parameters.
Detection
Review HTTP access logs on the router for requests targeting gena.cgi, especially those containing suspicious characters such as semicolons, pipes, or backticks. Look for repeated failed attempts or atypical command strings. Correlate with any anomalous system activity, such as unexpected processes or configuration changes, to identify potential exploitation.
Reference: NVD entry for CVE-2026-133493