PT-2022-3945 · Unknown · Control Web Panel
Published
2022-01-22
·
Updated
2023-01-24
·
CVE-2021-45466
CVSS v2.0
10
Critical
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Control Web Panel versions prior to 0.9.8.1107
Description
The issue is related to incorrect code generation management in the application. It allows a remote attacker to execute arbitrary code using a specially crafted request. Specifically, attackers can make a crafted request to "api/?api=add server&DHCP=" to add an authorized keys text file in the /resources/ folder.
Recommendations
For versions prior to 0.9.8.1107, update to version 0.9.8.1107 or later to resolve the issue.
As a temporary workaround, consider restricting access to the "api/?api=add server&DHCP=" endpoint until a patch is available.
Avoid using the
DHCP parameter in the affected API endpoint until the issue is resolved.Exploit
Fix
Incorrect Authorization
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Control Web Panel