| 제목 | TRENDnet TEW-751DR 1.03B01 OS Command Injection (CWE-78) |
|---|
| 설명 | 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. |
|---|
| 원천 | ⚠️ https://gist.github.com/qwq-nm/70b4fd27c21fd32e68f929261c01757f |
|---|
| 사용자 | zeroxf (UID 101992) |
|---|
| 제출 | 2026. 10. 30. PM 04:13 (28 날 ago) |
|---|
| 모더레이션 | 2026. 11. 27. PM 05:31 (28 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 444940 [TRENDnet TEW-751DR 1.03B01 UPnP Event htdocs/upnpinc/gena.php GENA_notify_init uri 권한 상승] |
|---|
| 포인트들 | 20 |
|---|