Arbitrary file upload in CentOS Web Panel - CVE-2019-13359
Published: July 16, 2019 / Updated: June 17, 2021
Vulnerability identifier: #VU35707
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2019-13359
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vendor: CentOS Web Panel
Affected software:
CentOS Web Panel
CentOS Web Panel
Detailed vulnerability description
The vulnerability allows a remote authenticated user to execute arbitrary code.
In CentOS-WebPanel.com (aka CWP) CentOS Web Panel 0.9.8.836, a cwpsrv-xxx cookie allows a normal user to craft and upload a session file to the /tmp directory, and use it to become the root user.
How to mitigate CVE-2019-13359
Install update from vendor's website.