CVE-2019-9859
8.8 · HIGHOverview
CVE-2019-9859 is a high-severity vulnerability affecting vestacp vesta_control_panel. It was published on March 10, 2020 and has a CVSS 3.1 base score of 8.8 (HIGH).
This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.
Technical Description
Vesta Control Panel (VestaCP) 0.9.7 through 0.9.8-23 is vulnerable to an authenticated command execution that can result in remote root access on the server. The platform works with PHP as the frontend language and uses shell scripts to execute system actions. PHP executes shell script through the dangerous command exec. This function can be dangerous if arguments passed to it are not filtered. Every user input in VestaCP that is used as an argument is filtered with the escapeshellarg function. This function comes from the PHP library directly and its description is as follows: "escapeshellarg() adds single quotes around a string and quotes/escapes any existing single quotes allowing you to pass a string directly to a shell function and having it be treated as a single safe argument." It means that if you give Username, it will have 'Username' as a replacement. This works well and protects users from exploiting this potentially dangerous exec function. Unfortunately, VestaCP uses this
Remediation
Check the references section for vendor advisories and patches from vestacp. Update vesta_control_panel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
Affected Products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| vestacp | vesta_control_panel | 0.9.7-0 | Affected |
Frequently Asked Questions
What is CVE-2019-9859?
CVE-2019-9859 is a high-severity vulnerability affecting vestacp vesta_control_panel. It was published on March 10, 2020 and has a CVSS 3.1 base score of 8.8 (HIGH).
How severe is CVE-2019-9859?
This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.
How do I fix or remediate CVE-2019-9859?
Check the references section for vendor advisories and patches from vestacp. Update vesta_control_panel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2019-9859?
CyberStrike's AI-powered security agents can automatically detect CVE-2019-9859 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.
How CyberStrike Helps
AI agents map your attack surface to find vulnerabilities like this one.
Automated penetration testing that runs continuously, not just quarterly.
AI-driven PR review catches vulnerable dependencies before they ship.
Browser-based exploitation validates findings with real proof-of-concept.
Related HIGH CVEs from 2019
View all →An exploitable SQL injection vulnerability exist in YouPHPTube 7.7. When the "VideoTags" plugin is e
A file-upload vulnerability exists in Rukovoditel 2.3.1. index.php?module=configuration/save allows
A use-after-free issue was found in the way the Linux kernel's KVM hypervisor processed posted inter
An error-based SQL injection vulnerability in product/card.php in Dolibarr version 8.0.2 allows remo
SQL injection vulnerability in user/card.php in Dolibarr version 8.0.2 allows remote authenticated u
SAP Enterprise Financial Services (fixed in SAPSCORE 1.13, 1.14, 1.15; S4CORE 1.01, 1.02, 1.03; EA-F
Under some circumstances, masterdata maintenance in SAP BW/4HANA (fixed in DW4CORE version 1.0 (SP08
A remote code execution vulnerability exists in the way that the MSHTML engine inproperly validates
An elevation of privilege exists in Windows COM Desktop Broker, aka "Windows COM Elevation of Privil
An elevation of privilege vulnerability exists in Microsoft Edge Browser Broker COM object, aka "Mic
A remote code execution vulnerability exists in Microsoft Word software when it fails to properly ha
D-Link DIR-822 C1 before v3.11B01Beta, DIR-822-US C1 before v3.11B01Beta, DIR-850L A* before v1.21B0