8.8High

CVE-2021-47949CyberPanel 2.1 Authenticated Remote Code Execution via Symlink Attack

Cyberpanel CyberPanel Published: (6 months ago)

Description

CyberPanel 2.1 contains a command execution vulnerability that allows authenticated attackers to read arbitrary files and execute remote code by exploiting symlink attacks through the filemanager controller endpoint. Attackers can manipulate the completeStartingPath parameter in POST requests to /filemanager/controller to create symbolic links, read sensitive files like database credentials, and execute arbitrary shell commands through the /websites/fetchFolderDetails endpoint.

Weakness (CWE): CWE-59

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Cyberpanel CyberPanel <= 2.1

References and patches