Control Web Panel < 0.9.8.1147 Remote Code Execution

critical Web App Scanning Plugin ID 113546

Synopsis

Control Web Panel < 0.9.8.1147 Remote Code Execution

Description

Control Web Panel (CWP, formerly CentOS Web Panel) is a free Linux control panel software. CWP versions below 0.9.8.1147 suffer from an operating system command injection through the `login` GET parameter on the `/login/index.php` endpoint. By leveraging this vulnerability, an unauthenticated attacker could achieve Remote Code Execution on the target application and fully compromise the target server.

Solution

Update CWP to version 0.9.8.1147 or later.

See Also

https://control-webpanel.com/changelog#1669855527714-450fb335-6194

https://www.bleepingcomputer.com/news/security/hackers-exploit-control-web-panel-flaw-to-open-reverse-shells/

Plugin Details

Severity: Critical

ID: 113546

Type: remote

Published: 1/23/2023

Updated: 1/23/2023

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Critical

Score: 9.0

CVSS v2

Risk Factor: Critical

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-44877

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS Score Source: CVE-2022-44877

Vulnerability Information

CPE: cpe:2.3:a:centos-webpanel:centos_web_panel:*:*:*:*:*:*:*:*

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/25/2022

Vulnerability Publication Date: 1/3/2023

CISA Known Exploited Vulnerability Due Dates: 2/7/2023

Reference Information

CVE: CVE-2022-44877