提交 #846719: Comfast (Shenzhen Four Seas Global Link Network Technology Co., CF-WR631AX V3 V2.7.0.8 OS Command Injection信息

标题Comfast (Shenzhen Four Seas Global Link Network Technology Co., CF-WR631AX V3 V2.7.0.8 OS Command Injection
描述The Comfast CF-WR631AX V3 firmware V2.7.0.8 contains an unauthenticated OS command injection vulnerability in the web management FastCGI backend (/usr/bin/webmgnt). The system_wl_upload_pic_file handler (used for WiFi Portal image uploads) extracts a user-supplied filename from the JSON POST body, splices it directly into a shell command via sprintf(), and executes it through system() as root. No input validation, character filtering, or shell escaping is performed at any point in the chain. Attackers on the LAN (or WAN if remote management is exposed) can send a crafted HTTP POST request with shell metacharacters in the filename field to execute arbitrary commands with root privileges.
来源⚠️ https://github.com/luminarydawn/cve/tree/main/Command%20Injection%20in%20Comfast%20CF-WR631AX%20V3%20%E2%80%94%20WiFi%20Portal%20Image%20Upload%20(CWE-78)
用户
 luminarydawn (UID 98723)
提交2026-06-03 07時19分 (3 月前)
管理2026-07-12 08時00分 (1 month later)
状态已接受
VulDB条目377840 [Comfast CF-WR631AX V3 直到 2.7.0.8 FastCGI Backend /usr/bin/webmgnt system_wl_upload_pic_file filename 权限提升]
积分20

Do you need the next level of professionalism?

Upgrade your account now!