| Titel | GL.iNet GL-MT3000 4.4.5 Command Injection |
|---|
| Beschreibung | An unauthenticated command injection vulnerability exists in the /cgi-bin/glc endpoint. The modem.so shared object exports a remove_profile function that extracts the id parameter from the JSON request body and passes it directly into sprintf(cmd, "/usr/bin/switch_sim_slot modem clear_profile %s", id) followed by fork_exec(cmd) (which invokes /bin/sh -c). No shell quoting is applied, and no modem-existence check is performed — only a null check on the id field. An attacker can inject ;cmd;# to execute arbitrary commands as root without authentication and without any preconditions. |
|---|
| Quelle | ⚠️ https://github.com/StrTzz123/iot_vul/tree/main/GL-iNet/MT3000/4.4.5/modem_remove_profile_glc_rce |
|---|
| Benutzer | Strforexc2 (UID 98838) |
|---|
| Einreichung | 08.06.2026 15:22 (vor 2 Monaten) |
|---|
| Moderieren | 03.08.2026 17:50 (2 months later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 385610 [GL.iNet GL-MT3000 bis 4.4.5 modem.so /cgi-bin/glc remove_profile erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|