| Title | GL.iNet GL-MT3000 4.4.5 Command Injection |
|---|
| Description | An unauthenticated command injection vulnerability exists in the /cgi-bin/glc endpoint. The plugins.so shared object exports an install_package function that accepts a name array of package names from the JSON request body. For each package name, it calls sprintf(cmd, "%s install %s >> /tmp/opkg.stdout 2>>/tmp/opkg.stderr;sync", "opkg --force-overwrite --nocase", pkg_name) followed by system(cmd). No shell quoting is applied. An attacker can inject ;cmd;# to execute arbitrary commands as root without authentication. This function additionally requires network connectivity and passes an opkg lock check. |
|---|
| Source | ⚠️ https://github.com/StrTzz123/iot_vul/tree/main/GL-iNet/MT3000/4.4.5/plugins_install_package_glc_rce |
|---|
| User | Strforexc2 (UID 98838) |
|---|
| Submission | 06/08/2026 15:26 (2 months ago) |
|---|
| Moderation | 08/03/2026 17:45 (2 months later) |
|---|
| Status | Duplicate |
|---|
| VulDB entry | 385532 [GL-iNet GL-MT3000 up to 4.4.5 plugins.so Native Plugin /cgi-bin/glc plugins.remove_package/plugins.install_package command injection] |
|---|
| Points | 0 |
|---|