Gửi #1067945: TRENDnet TEW-824DRU 1.00b18 OS Command Injection (CWE-78)thông tin

tiêu đềTRENDnet TEW-824DRU 1.00b18 OS Command Injection (CWE-78)
Mô tảTRENDnet TEW-824DRU 1.00b18: the configuration CGI /www/cgi/ssi (page adm_syslog.asp) reads the UCI option cameo.cameo.syslog_server, copies it into a 24-byte stack buffer with strcpy() and splits it on '/'. When the first segment is '1', the second segment is formatted unfiltered into system("syslogd -C%d -L -R %s:514 &"). With syslog_server set to '1/;echo PWNED_SYSLOG>pwned_syslog;' the CGI executes sh -c "syslogd -C20 -L -R ;echo PWNED_SYSLOG>pwned_syslog;:514 &" and the injected command runs as root (13-byte marker file created). The same option overflows the stack buffer: 22-byte values are accepted, 24 bytes and above kill the CGI with SIGSEGV/SIGBUS. Requires administrator (or configuration-write) access; reproduced with the extracted firmware under qemu-user with PATH_TRANSLATED=/www/adm_syslog.asp. The TEW-827DRU image gates this path behind cameo.feature_change_review=1, the TEW-824DRU does not.
Nguồn⚠️ https://gist.github.com/qwq-nm/b3027508114354faa37384f9262a5891
Người dùng
 zeroxf (UID 101992)
Đệ trình31/10/2026 03:38 (cách đây 30 ngày)
Kiểm duyệt29/11/2026 20:50 (30 days later)
Trạng tháiđược chấp nhận
Mục VulDB445260 [TRENDnet TEW-824DRU 1.00b18 /cgi/ssi syslog_server nâng cao đặc quyền]
điểm20

Do you need the next level of professionalism?

Upgrade your account now!