CVE-2026-11451

A flaw has been found in GL.iNet GL-MT3000 4.4.5. This impacts the function snprintf of the file /cgi-bin/glc of the component FTP Protocol Handler. Executing a manipulation of the argument media_dir can lead to command injection. It is possible to launch the attack remotely. Upgrading to version 4.8.1 will fix this issue. You should upgrade the affected component. The vendor explains: "In version 4.8.1, before writing media_dir to the FTP configuration command, the code escapes single quotes using escape_single_quote(). The payloads in the report—which rely on closing a single quote, appending commands with a semicolon, and commenting out the tail with #—cannot escape execution under the current code path. We also verified this on a GL‑MT3000 device running firmware version 4.8.1 using similar payloads calling the /NAS_API_SET_PROTO_CONFIG interface. Although the interface returned success, the marker file intended to prove command execution was not created; the payload was written into /etc/vsftpd.conf only as ordinary configuration content and did not trigger any shell command execution. Therefore, with the current firmware version and default runtime environment, we could not reproduce the claimed “unauthorized command injection in set_proto_config”."
Configurations

No configuration.

History

23 Jul 2026, 07:10

Type Values Removed Values Added
Summary
  • (es) Se ha encontrado una vulnerabilidad en GL.iNet GL-MT3000 4.4.5. Esto afecta a la función snprintf del archivo /cgi-bin/glc del componente Gestor de Protocolo FTP. La ejecución de una manipulación del argumento media_dir puede llevar a inyección de comandos. Es posible lanzar el ataque remotamente. La actualización a la versión 4.8.1 solucionará este problema. Debería actualizar el componente afectado. El proveedor explica: 'En la versión 4.8.1, antes de escribir media_dir en el comando de configuración FTP, el código escapa las comillas simples usando escape_single_quote(). Las cargas útiles en el informe -que se basan en cerrar una comilla simple, añadir comandos con un punto y coma y comentar el resto con #- no pueden escapar la ejecución bajo la ruta de código actual. También verificamos esto en un dispositivo GL?MT3000 ejecutando la versión de firmware 4.8.1 usando cargas útiles similares que llaman a la interfaz /NAS_API_SET_PROTO_CONFIG. Aunque la interfaz devolvió éxito, el archivo marcador destinado a probar la ejecución de comandos no fue creado; la carga útil fue escrita en /etc/vsftpd.conf solo como contenido de configuración ordinario y no desencadenó ninguna ejecución de comando de shell. Por lo tanto, con la versión de firmware actual y el entorno de ejecución predeterminado, no pudimos reproducir la 'inyección de comandos no autorizada en set_proto_config' reclamada.'

08 Jun 2026, 17:16

Type Values Removed Values Added
References () https://github.com/StrTzz123/iot_vul/blob/main/GL-iNet/MT3000/4.4.5/nas_proto_media_dir_glc_rce/Readme.md - () https://github.com/StrTzz123/iot_vul/blob/main/GL-iNet/MT3000/4.4.5/nas_proto_media_dir_glc_rce/Readme.md -

07 Jun 2026, 04:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-07 04:16

Updated : 2026-07-23 07:10


NVD link : CVE-2026-11451

Mitre link : CVE-2026-11451

CVE.ORG link : CVE-2026-11451


JSON object : View

Products Affected

No product.

CWE
CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')