Arbitrary file upload in CentOS Web Panel - CVE-2019-13359

 

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: 7.7 [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]
CVE-ID: CVE-2019-13359
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

CentOS Web Panel

How to mitigate CVE-2019-13359

Install update from vendor's website.


Links to Public Exploits and PoC-codes

External References

Related Security Bulletins