Lucene search
+L

Brother HL Series Printer XSS Vulnerability

🗓️ 06 Jun 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 27 Views

Brother HL Series Printer XSS Vulnerability. Improper URL validation allows injection of arbitrary code, affecting printers prior to firmware version 1.1

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2018-11581
1 Jun 201817:00
cve
cvelist
Cvelist
CVE-2018-11581
1 Jun 201817:00
cvelist
exploitdb
Exploit DB
Brother HL Series Printers 1.15 - Cross-Site Scripting
4 Jun 201800:00
exploitdb
euvd
EUVD
EUVD-2018-3607
7 Oct 202500:30
euvd
nvd
NVD
CVE-2018-11581
1 Jun 201817:29
nvd
osv
OSV
CVE-2018-11581
1 Jun 201817:29
osv
prion
Prion
Cross site scripting
1 Jun 201817:29
prion
nessus
Tenable Nessus
Brother HL Printers Cross-site Scripting (CVE-2018-11581)
23 Oct 202500:00
nessus
# SPDX-FileCopyrightText: 2018 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

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.813391");
  script_version("2023-08-25T05:06:04+0000");
  script_tag(name:"last_modification", value:"2023-08-25 05:06:04 +0000 (Fri, 25 Aug 2023)");
  script_tag(name:"creation_date", value:"2018-06-06 15:18:41 +0530 (Wed, 06 Jun 2018)");
  script_tag(name:"cvss_base", value:"3.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:S/C:N/I:P/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2018-11-16 14:29:00 +0000 (Fri, 16 Nov 2018)");

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

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

  script_cve_id("CVE-2018-11581");

  script_name("Brother HL Series Printer XSS Vulnerability");
  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_category(ACT_GATHER_INFO);
  script_family("Web application abuses");
  script_dependencies("gb_brother_printer_consolidation.nasl");
  script_mandatory_keys("brother/printer/detected");

  script_tag(name:"summary", value:"Brother HL Series Printer is prone to a cross site scripting (XSS)
  vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"The flaw is due to am improper validation of url parameter to
  'etc/loginerror.html'.");

  script_tag(name:"impact", value:"Successful exploitation will allow an attacker to inject arbitrary
  html and script code into the web site. This would alter the appearance and would make it possible
  to initiate further attacks against site visitors.");

  script_tag(name:"affected", value:"Brother HL-L2340D and HL-L2380DW series printers firmware version
  prior to 1.16.");

  script_tag(name:"solution", value:"Update to firmware version 1.16 or later and set a new password.
  Please see the references for more information.");

  script_xref(name:"URL", value:"https://gist.github.com/huykha/409451e4b086bfbd55e28e7e803ae930");

  exit(0);
}

include("version_func.inc");
include("host_details.inc");

cpe_list = make_list("cpe:/o:brother:hl-l2340d_firmware",
                     "cpe:/o:brother:hl-l2380dw_firmware");

if(!infos = get_app_port_from_list(cpe_list:cpe_list))
  exit(0);

CPE  = infos["cpe"];
port = infos["port"];

if(!infos = get_app_version_and_location(cpe:CPE, port:port, exit_no_version:TRUE))
  exit(0);

vers = infos["version"];
path = infos["location"];

if(version_is_less(version:vers, test_version:"1.16")){
  report = report_fixed_ver(installed_version:vers, fixed_version:"1.16", install_path:path);
  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

25 Aug 2023 00:00Current
5Medium risk
Vulners AI Score5
CVSS 23.5
CVSS 34.8
EPSS0.01079
27