| Título | TRENDnet TEW-751DR 1.03B01 OS Command Injection (CWE-78) |
|---|
| Descrição | TRENDnet TEW-751DR 1.03B01 (same files on TEW-752DRU 1.03B01) exposes the unauthenticated UPnP event endpoint /gena.cgi. genacgi_main dispatches SUBSCRIBE to FUN_0040e740 without any session check; that function takes the CALLBACK header, splits it at the first '/' into host and URI, and passes both to run.NOTIFY.php -> htdocs/upnpinc/gena.php::GENA_notify_init(), which writes a #!/bin/sh script and concatenates them unquoted (" -V HDR_URL=".$uri). genacgi_main then schedules that script with xmldbc_timer("NOTIFY:0:sh <script>"). CALLBACK: <http://10.0.0.9/aaa;touch /var/tmp/gena/PWNED;bbb> therefore produces an unquoted shell word and the injected command runs as root. Reproduction: the script was generated by the firmware's own gena.php under php-cli and executed with the firmware's busybox sh in the extracted rootfs; control URI 'aaa' creates nothing, the payload URI creates /var/tmp/gena/PWNED as root. The device PHP interpreter and xmldbc timer were not exercised end-to-end. |
|---|
| Fonte | ⚠️ https://gist.github.com/qwq-nm/70b4fd27c21fd32e68f929261c01757f |
|---|
| Utilizador | zeroxf (UID 101992) |
|---|
| Submissão | 30/10/2026 16h13 (há 28 dias) |
|---|
| Moderação | 27/11/2026 17h31 (28 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 444940 [TRENDnet TEW-751DR 1.03B01 UPnP Event htdocs/upnpinc/gena.php GENA_notify_init uri Elevação de Privilégios] |
|---|
| Pontos | 20 |
|---|