Canon PrintMe / EFI XSS Vulnerability
🗓️ 15 Jun 2018 00:00:00Reported by Copyright (C) 2018 Greenbone Networks GmbHType
openvas🔗 plugins.openvas.org👁 47 Views
| Reporter | Title | Published | Views | Family All 10 |
|---|---|---|---|---|
| Canon PrintMe EFI - Cross-Site Scripting Vulnerability | 13 Jun 201800:00 | – | zdt | |
| Canon PrintMe EFI webinterface cross-site scripting vulnerability | 13 Jun 201800:00 | – | cnvd | |
| CVE-2018-12111 | 11 Jun 201813:00 | – | cve | |
| CVE-2018-12111 | 11 Jun 201813:00 | – | cvelist | |
| Canon PrintMe EFI - Cross-Site Scripting | 12 Jun 201800:00 | – | exploitdb | |
| EUVD-2018-4089 | 7 Oct 202500:30 | – | euvd | |
| Canon PrintMe EFI - Cross-Site Scripting | 12 Jun 201800:00 | – | exploitpack | |
| CVE-2018-12111 | 11 Jun 201813:29 | – | nvd | |
| Canon PrintMe EFI Cross Site Scripting | 12 Jun 201800:00 | – | packetstorm | |
| Cross site scripting | 11 Jun 201813:29 | – | prion |
| Source | Link |
|---|---|
| exploit-db | www.exploit-db.com/exploits/44882 |
| packetstormsecurity | www.packetstormsecurity.com/files/148160 |
# Copyright (C) 2018 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
CPE = "cpe:/a:efi:fiery";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.813608");
script_version("2021-09-14T11:54:23+0000");
script_cve_id("CVE-2018-12111");
script_tag(name:"cvss_base", value:"4.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
script_tag(name:"last_modification", value:"2021-09-14 11:54:23 +0000 (Tue, 14 Sep 2021)");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2018-07-30 17:52:00 +0000 (Mon, 30 Jul 2018)");
script_tag(name:"creation_date", value:"2018-06-15 12:23:19 +0530 (Fri, 15 Jun 2018)");
script_tag(name:"qod_type", value:"remote_analysis");
script_name("Canon PrintMe / EFI XSS Vulnerability");
script_tag(name:"summary", value:"Canon PrintMe / EFI software is prone to a cross-site scripting
(XSS) vulnerability.");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request checks the response.");
script_tag(name:"insight", value:"The flaw is due to an input validation error in the Canon
PrintMe EFI webinterface.");
script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to inject
arbitrary web script or HTML in a user's browser session within the trust relationship between
their browser and the server.");
script_tag(name:"affected", value:"Canon PrintMe / EFI software.");
script_tag(name:"solution", value:"No known solution was made available for at least one year
since the disclosure of this vulnerability. Likely none will be provided anymore. General solution
options are to upgrade to a newer release, disable respective features, remove the product or
replace the product by another one.");
script_tag(name:"solution_type", value:"WillNotFix");
script_xref(name:"URL", value:"https://www.exploit-db.com/exploits/44882");
script_xref(name:"URL", value:"https://packetstormsecurity.com/files/148160");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2018 Greenbone Networks GmbH");
script_family("Web application abuses");
script_dependencies("gb_efi_fiery_consolidation.nasl");
script_mandatory_keys("efi/fiery/http/detected");
script_require_ports("Services/www", 443);
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("host_details.inc");
include("misc_func.inc");
if(!port = get_app_port(cpe: CPE, service: "www"))
exit(0);
if(!get_app_location(port: port, cpe: CPE, nofork: TRUE))
exit(0);
req = http_get_req(port: port, url: "/wt3/mydocs.php?language=en");
res = http_keepalive_send_recv(port: port, data: req);
session_id = eregmatch(pattern: "Set-Cookie: PHPSESSID=([^;]+)", string: res);
if(!session_id[1])
exit(0);
sess = session_id[1];
url = "/wt3/mydocs.php/'%22--!%3E%3Cimg%20src=x%20onerror=alert(document.cookie)%3E";
cookie_header = make_array("Cookie", "PHPSESSID=" + sess);
req = http_get_req(port: port, url: url, add_headers: cookie_header);
res = http_keepalive_send_recv(data: req, port: port);
# nb: Older versions of this VT had also checked for the following:
# 'alt=CANON' >< res &&
# This was removed to make this VT more generic for other non-canon printer devices using
# the same vulnerable EFI software.
if(res =~ "^HTTP/1\.[01] 200" && '>EFI Software End User License Agreement' >< res &&
"alert(document.cookie)" >< res) {
report = http_report_vuln_url(port: port, url: url);
security_message(data: report, port: port);
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
14 Sep 2021 00:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 24.3
CVSS 36.1
EPSS0.02469