| Titre | TRENDnet TEW-751DR 1.03B01 OS Command Injection (CWE-78) |
|---|
| Description | 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. |
|---|
| La source | ⚠️ https://gist.github.com/qwq-nm/70b4fd27c21fd32e68f929261c01757f |
|---|
| Utilisateur | zeroxf (UID 101992) |
|---|
| Soumission | 30/10/2026 16:13 (il y a 28 jours) |
|---|
| Modérer | 27/11/2026 17:31 (28 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 444940 [TRENDnet TEW-751DR 1.03B01 UPnP Event htdocs/upnpinc/gena.php GENA_notify_init uri élévation de privilèges] |
|---|
| Points | 20 |
|---|