제출 #863598: Tomato Tomato by Shibby 1.28.0000 MIPSR2-124 K26 Mini (tomato-K26-1.28.RT-MIPSR2-124-Mini.trx, release build5x-124-EN, 2014-12-24). Likely affects other OS Command Injection (post-authentication)정보

제목Tomato Tomato by Shibby 1.28.0000 MIPSR2-124 K26 Mini (tomato-K26-1.28.RT-MIPSR2-124-Mini.trx, release build5x-124-EN, 2014-12-24). Likely affects other OS Command Injection (post-authentication)
설명The router service binary /sbin/rc reads administrator-writable NVRAM key wan_iface in function new_qoslimit_stop (offset 0x423F74, 248 bytes). The value is embedded via fprintf without sanitization into a #!/bin/sh shell script /tmp/qoslimittc_stop.sh, then chmod 0700, then executed as root through eval() → fork+execvp at 0x424048 when QoS bandwidth limiting is stopped (WAN disconnect or service restart via exec_service). An authenticated web administrator can set wan_iface to contain shell metacharacters (e.g. eth0;touch /tmp/pwned;#). Impact is full root compromise (C/I/A). NVRAM values persist across reboots. Dynamic verification: QEMU MIPS user-mode, original firmware rootfs (a26ef07dc0fdf82967c20555e238ad3ead1d0cf3), LD_PRELOAD NVRAM shim, bwrap sandbox, strace confirms open("/tmp/qoslimittc_stop.sh") → write(97) → chmod(0700) → fork(), and proof file /tmp/pwned_qoslimit_stop created.
원천⚠️ https://gitee.com/WH-YHUST/tomato-rc-qos-ppp-cve/blob/master/advisories/en/01-new_qoslimit_stop.md
사용자
 WH-YHUST (UID 98329)
제출2026. 06. 19. AM 11:41 (2 개월 ago)
모더레이션2026. 08. 06. AM 07:47 (2 months later)
상태수락
VulDB 항목386453 [Shibby Tomato 1.28.0000 /tmp/qoslimittc_stop.sh new_qoslimit_stop wan_iface 권한 상승]
포인트들20

Do you know our Splunk app?

Download it now for free!