Zikula 'jcss.php' Directory Traversal Vulnerability
🗓️ 09 Dec 2016 00:00:00Reported by Copyright (C) 2016 Greenbone AGType
openvas🔗 plugins.openvas.org👁 28 Views
| Reporter | Title | Published | Views | Family All 6 |
|---|---|---|---|---|
| Zikula Directory Traversal Vulnerability | 8 Dec 201600:00 | – | cnvd | |
| CVE-2016-9835 | 5 Dec 201608:09 | – | cve | |
| CVE-2016-9835 | 5 Dec 201608:09 | – | cvelist | |
| EUVD-2016-10635 | 7 Oct 202500:30 | – | euvd | |
| CVE-2016-9835 | 5 Dec 201608:59 | – | nvd | |
| Directory traversal | 5 Dec 201608:59 | – | prion |
# SPDX-FileCopyrightText: 2016 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:zikula:zikula_application_framework";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.809746");
script_version("2023-07-20T05:05:17+0000");
script_cve_id("CVE-2016-9835");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_tag(name:"last_modification", value:"2023-07-20 05:05:17 +0000 (Thu, 20 Jul 2023)");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2016-12-27 14:44:00 +0000 (Tue, 27 Dec 2016)");
script_tag(name:"creation_date", value:"2016-12-09 18:25:21 +0530 (Fri, 09 Dec 2016)");
script_name("Zikula 'jcss.php' Directory Traversal Vulnerability");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2016 Greenbone AG");
script_family("Web application abuses");
script_dependencies("secpod_zikula_detect.nasl", "os_detection.nasl");
script_mandatory_keys("zikula/detected", "Host/runs_windows");
script_require_ports("Services/www", 80);
script_xref(name:"URL", value:"https://github.com/zikula/core/issues/3237");
script_xref(name:"URL", value:"https://github.com/zikula/core/blob/1.3/CHANGELOG-1.3.md");
script_xref(name:"URL", value:"https://github.com/zikula/core/blob/1.4/CHANGELOG-1.4.md");
script_tag(name:"summary", value:"Zikula is prone to a directory traversal vulnerability.");
script_tag(name:"vuldetect", value:"Send a crafted HTTP GET request
and determine based on response if it is vulnerable to directory traversal.");
script_tag(name:"insight", value:"The flaw exists due to insufficient
sanitization of input passed via 'f' parameter to 'jcss.php' script.");
script_tag(name:"impact", value:"Successful exploitation will allow remote
attackers to launch a PHP object injection by uploading a serialized file.");
script_tag(name:"affected", value:"Zikula 1.3.x before 1.3.11 and 1.4.x
before 1.4.4 on Windows.");
script_tag(name:"solution", value:"Upgrade to Zikula 1.3.11 or 1.4.4 or later.");
script_tag(name:"qod_type", value:"remote_analysis");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("host_details.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 = "";
url = dir + "/jcss.php?f=..\..\..\..\..\jcss.php";
req = http_get(item:url, port:port);
res = http_keepalive_send_recv(port:port, data:req);
# nb: For patched version response is "Requested file not readable" and non patched "Corrupted file"
if(res =~ "^HTTP/1\.[01] 500" && "ERROR: Corrupted file" >< res && "ERROR: Requested file not readable" >!< res) {
report = http_report_vuln_url(port:port, url:url);
security_message(port:port, data:report);
exit(0);
}
exit(99);
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
20 Jul 2023 00:00Current
9.6High risk
Vulners AI Score9.6
CVSS 27.5
CVSS 39.8
EPSS0.03918