| タイトル | GL-iNet GL-MT3000 4.4.5 Command Injection |
|---|
| 説明 | An unauthenticated command injection vulnerability exists in the /cgi-bin/glc endpoint via the ovpn-client.get_recommend_config method of the affected product. The ovpn-client.so native plugin at /usr/lib/oui-httpd/rpc/ovpn-client.so accepts a servers array. For each server entry, the hostname field is extracted, suffixed with .tcp or .udp, and passed to download_recommend_config(). This function constructs a shell command by embedding the attacker-supplied hostname into a sprintf() template and executes it via fork_exec(cmd) which calls execlp("/bin/sh", "sh", "-c", cmd, NULL). The hostname appears in all four %s positions (touch target, URL, download path, remove target), so $() command substitution fires in every position. No shell quoting or metacharacter filtering is applied to the hostname, and the /cgi-bin/glc binary calls the plugin via dlopen()/dlsym() without any authentication check, resulting in unauthenticated root command execution. |
|---|
| ソース | ⚠️ https://github.com/StrTzz123/iot_vul/blob/main/GL-iNet/MT3000/4.4.5/ovpn_get_recommend_config_glc_rce/CVE.md |
|---|
| ユーザー | strforexc (UID 94617) |
|---|
| 送信 | 2026年06月08日 14:57 (2 月 ago) |
|---|
| モデレーション | 2026年08月03日 08:55 (2 months later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 385517 [GL.iNet GL-MT3000 迄 4.4.5 ovpn-client.so Native Plugin /cgi-bin/glc ovpn-client.get_recommend_config ホスト名 特権昇格] |
|---|
| ポイント | 20 |
|---|