Submit #851566: 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 via the wg-server.generate_publickey method of the affected product. The wg-server.so native plugin at /usr/lib/oui-httpd/rpc/wg-server.so passes the attacker-supplied private_key parameter into sprintf("echo %s | wg pubkey") → getShellCommandReturn() (which invokes /bin/sh -c). Shell command substitution $() is expanded by the shell before the pipe executes, resulting in root command execution without authentication.
Source⚠️ https://github.com/StrTzz123/iot_vul/blob/main/GL-iNet/MT3000/4.4.5/wg_generate_publickey_glc/CVE.md
User
 Strforexc2 (UID 98838)
Submission06/08/2026 15:17 (2 months ago)
Moderation08/03/2026 09:33 (2 months later)
StatusAccepted
VulDB entry385535 [GL-iNet GL-MT3000 up to 4.4.5 wg-server.so Native Plugin /cgi-bin/glc wg-server.generate_publickey private_key command injection]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!