| शीर्षक | GL.iNet GL-MT3000 4.4.5 Command Injection |
|---|
| विवरण | An unauthenticated command injection vulnerability exists in the `/cgi-bin/glc` endpoint of the affected product. The `nas-web.so` plugin forwards the `set_proto_config` JSON request via libcurl HTTP POST to the local `gl_nas_sys` root daemon. The `gl_nas_sys` FTP protocol handler (`FUN_0045dc80`) extracts the `media_dir` parameter from the JSON payload and passes it unsanitized into two `snprintf()` + `system()` calls that construct shell commands wrapped in single quotes. An attacker can include a single quote (`'`) in `media_dir` to break out of the quoting context, inject shell metacharacters (`;`, `>`, `#`), and execute arbitrary commands as root. |
|---|
| स्रोत | ⚠️ https://github.com/StrTzz123/iot_vul/blob/main/GL-iNet/MT3000/4.4.5/nas_proto_media_dir_glc_rce/Readme.md |
|---|
| उपयोगकर्ता | strforexc (UID 94617) |
|---|
| सबमिशन | 11/05/2026 04:48 PM (27 दिन पहले) |
|---|
| संयम | 06/06/2026 12:33 PM (26 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 369071 [GL.iNet GL-MT3000 4.4.5 FTP Protocol /cgi-bin/glc snprintf media_dir अधिकार वृद्धि] |
|---|
| अंक | 20 |
|---|