| 제목 | Linksys E5350 1.0.00.037 Missing Authentication / OS Command Injection (CWE-306 / CWE-78) |
|---|
| 설명 | A missing authentication vulnerability was discovered in Linksys E5350 firmware v1.0.00.037 (latest release; product is end-of-life). While the router is in factory/setup-wizard state (wizard_finish not set: out-of-box or after factory reset, before the owner completes initial setup), the URL /wizard/apply.cgi is served without any authentication and is dispatched by the same 86-entry action table as the authenticated /apply.cgi. This exposes the Diagnostics start_ping/start_traceroute actions, whose ping_ip/traceroute_ip parameters are stored in NVRAM verbatim and executed unsanitized via system() by the diag_pingbutton/diag_tracertbutton services, to unauthenticated remote attackers, yielding root command execution. The service blacklist blocks only space, '|' and '>', so ${IFS} supplies whitespace and multi-command injection works. Reproduction (no credentials): POST /wizard/apply.cgi with submit_button=Diagnostics&submit_type=start_ping&ping_ip=y;cd${IFS}..;cd${IFS}tmp;touch${IFS}e5350_pwned2;y returns HTTP 200 with the Diagnostics page; the injected commands execute (marker file created; the identical chain via the authenticated path was syscall-traced: execve("/bin/sh", {"sh","-c","ping -c 5 -s 64 -o /tmp/ping.log <payload> &"})). Boundary controls: the same POST to /apply.cgi in wizard state returns 302 to index.asp (blocked as designed), and after setup completion /wizard/apply.cgi requires authentication. Proposed CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (8.8). Discovered by Zimo-666 via firmware rehosting, static reverse engineering and dynamic verification. |
|---|
| 원천 | ⚠️ https://github.com/Zimo-666/E5350-cves/tree/main/01-wizard-preauth-command-injection |
|---|
| 사용자 | liuyingqi (UID 102046) |
|---|
| 제출 | 2026. 10. 11. AM 08:38 (26 날 ago) |
|---|
| 모더레이션 | 2026. 11. 04. PM 12:39 (24 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 431044 [Linksys E5350 1.0.00.037 /wizard/apply.cgi system ping_ip/traceroute_ip 권한 상승] |
|---|
| 포인트들 | 20 |
|---|