| 标题 | GL-iNet GL-MT3000 4.4.5 Command Injection |
|---|
| 描述 | An 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. |
|---|
| 来源 | ⚠️ https://github.com/StrTzz123/iot_vul/blob/main/GL-iNet/MT3000/4.4.5/wg_generate_publickey_glc/CVE.md |
|---|
| 用户 | Strforexc2 (UID 98838) |
|---|
| 提交 | 2026-06-08 15時17分 (2 月前) |
|---|
| 管理 | 2026-08-03 09時33分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 385535 [GL-iNet GL-MT3000 直到 4.4.5 wg-server.so Native Plugin /cgi-bin/glc wg-server.generate_publickey private_key 权限提升] |
|---|
| 积分 | 20 |
|---|