Submit #851566: GL-iNet GL-MT3000 4.4.5 Command Injectioninfo

TitelGL-iNet GL-MT3000 4.4.5 Command Injection
BeschreibungAn 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.
Quelle⚠️ https://github.com/StrTzz123/iot_vul/blob/main/GL-iNet/MT3000/4.4.5/wg_generate_publickey_glc/CVE.md
Benutzer
 Strforexc2 (UID 98838)
Einreichung08.06.2026 15:17 (vor 2 Monaten)
Moderieren03.08.2026 09:33 (2 months later)
StatusAkzeptiert
VulDB Eintrag385535 [GL-iNet GL-MT3000 bis 4.4.5 wg-server.so Native Plugin /cgi-bin/glc wg-server.generate_publickey private_key erweiterte Rechte]
Punkte20

Do you want to use VulDB in your project?

Use the official API to access entries easily!