| Título | TRENDnet TEW-751DR 1.03B01 OS Command Injection (CWE-78) |
|---|
| Descripción | 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. |
|---|
| Fuente | ⚠️ https://gist.github.com/qwq-nm/70b4fd27c21fd32e68f929261c01757f |
|---|
| Usuario | zeroxf (UID 101992) |
|---|
| Sumisión | 2026-10-30 16:13 (hace 28 días) |
|---|
| Moderación | 2026-11-27 17:31 (28 days later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 444940 [TRENDnet TEW-751DR 1.03B01 UPnP Event htdocs/upnpinc/gena.php GENA_notify_init uri escalada de privilegios] |
|---|
| Puntos | 20 |
|---|