Submit #851596: GL.iNet GL-MT3000 4.4.5 Command Injectioninfo

TitleGL.iNet GL-MT3000 4.4.5 Command Injection
DescriptionAn unauthenticated command injection vulnerability exists in the /cgi-bin/glc endpoint. The plugins.so shared object exports a get_package_info function that extracts the name parameter from the JSON request body and passes it directly into sprintf(cmd, "%s info %s >/tmp/opkg.stdout 2>/tmp/opkg.stderr;sync", "opkg --force-overwrite --nocase", name) followed by system(cmd). No shell quoting is applied. The only validation is an opkg lock file check. An attacker can inject ;cmd;# to execute arbitrary commands as root without authentication.
Source⚠️ https://github.com/StrTzz123/iot_vul/tree/main/GL-iNet/MT3000/4.4.5/plugins_get_package_info_glc_rce
User
 Strforexc2 (UID 98838)
Submission06/08/2026 15:26 (2 months ago)
Moderation08/03/2026 17:45 (2 months later)
StatusDuplicate
VulDB entry385532 [GL-iNet GL-MT3000 up to 4.4.5 plugins.so Native Plugin /cgi-bin/glc plugins.remove_package/plugins.install_package command injection]
Points0

Want to stay up to date on a daily basis?

Enable the mail alert feature now!