#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(242242);
script_version("1.5");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/02/02");
script_cve_id("CVE-2024-51378", "CVE-2024-51567");
script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2024/11/28");
script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2024/12/25");
script_name(english:"CyberPanel < 2.3.8 Multiple RCEs");
script_set_attribute(attribute:"synopsis", value:
"CyberPanel may be affected by multiple remote code execution vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The CyberPanel installed on the remote host is prior to 2.3.8. It is, therefore, affected by the following
vulnerabilities:
- upgrademysqlstatus in databases/views.py in CyberPanel (aka Cyber Panel) before 5b08cd6 allows remote
attackers to bypass authentication and execute arbitrary commands via /dataBases/upgrademysqlstatus by
bypassing secMiddleware (which is only for a POST request) and using shell metacharacters in the statusfile
property, as exploited in the wild in October 2024 by PSAUX. Versions through 2.3.6 and (unpatched) 2.3.7
are affected. (CVE-2024-51378)
- getresetstatus in dns/views.py and ftp/views.py in CyberPanel (aka Cyber Panel) before 1c0c6cb allows
remote attackers to bypass authentication and execute arbitrary commands via /dns/getresetstatus or
/ftp/getresetstatus by bypassing secMiddleware (which is only for a POST request) and using shell
metacharacters in the statusfile property, as exploited in the wild in October 2024 by PSAUX. Versions
through 2.3.6 and (unpatched) 2.3.7 are affected. (CVE-2024-51567)
Note that Nessus has not tested for this issue and has relied only on the device's self-reported model number.");
script_set_attribute(attribute:"see_also", value:"https://cyberpanel.net/KnowledgeBase/home/change-logs/");
# https://cyberpanel.net/blog/detials-and-fix-of-recent-security-issue-and-patch-of-cyberpanel
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?b8de38a7");
# https://dreyand.rs/code/review/2024/10/27/what-are-my-options-cyberpanel-v236-pre-auth-rce
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?29a8cac3");
script_set_attribute(attribute:"see_also", value:"https://github.com/refr4g/CVE-2024-51378");
script_set_attribute(attribute:"solution", value:
"Update CyberPanel to version 2.3.8 or apply patch");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2024-51567");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"exploited_by_malware", value:"true");
script_set_attribute(attribute:"metasploit_name", value:'CyberPanel Multi CVE Pre-auth RCE');
script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2024/10/24");
script_set_attribute(attribute:"patch_publication_date", value:"2024/10/29");
script_set_attribute(attribute:"plugin_publication_date", value:"2025/07/17");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:cyberpanel:cyberpanel");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2025-2026 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("cyberpanel_nix_installed.nbin");
script_require_keys("installed_sw/CyberPanel");
exit(0);
}
include('vcf.inc');
var app = 'CyberPanel';
get_install_count(app_name:app, exit_if_zero:TRUE);
if (report_paranoia < 2)
audit(AUDIT_POTENTIAL_VULN, app);
var report =
'\n Solution : Update CyberPanel to version 2.3.8 or apply patch' +
'\n';
security_report_v4(port:0, severity:SECURITY_HOLE, extra:report);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation