Sunny WebBox Hardcoded Credentials (HTTP)
🗓️ 24 May 2016 00:00:00Reported by Copyright (C) 2016 Greenbone AGType
openvas🔗 plugins.openvas.org👁 141 Views
| Reporter | Title | Published | Views | Family All 8 |
|---|---|---|---|---|
| The vulnerability of the microprogramming software in the remote control system for solar panels, SMA Solar Sunny WebBox, allows a intruder to gain access to the device. | 8 Feb 201600:00 | – | bdu_fstec | |
| SMA Solar Sunny WebBox Privilege Gain Vulnerability | 15 Sep 201500:00 | – | cnvd | |
| CVE-2015-3964 | 11 Sep 201516:00 | – | cve | |
| CVE-2015-3964 | 11 Sep 201516:00 | – | cvelist | |
| EUVD-2015-3995 | 7 Oct 202500:30 | – | euvd | |
| SMA Solar Technology AG Sunny WebBox Hard-Coded Account Vulnerability | 2 Apr 201506:00 | – | ics | |
| CVE-2015-3964 | 11 Sep 201516:59 | – | nvd | |
| Hardcoded credentials | 11 Sep 201516:59 | – | prion |
| Source | Link |
|---|---|
| ics-cert | www.ics-cert.us-cert.gov/advisories/ICSA-15-181-02A |
| securityfocus | www.securityfocus.com/bid/76617 |
| files | www.files.sma.de/dl/8584/Sicherheit-TEN103010.pdf |
# 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:/o:sma_solar_technology_ag:webbox_firmware";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.808204");
script_version("2023-07-20T05:05:17+0000");
script_cve_id("CVE-2015-3964");
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_tag(name:"last_modification", value:"2023-07-20 05:05:17 +0000 (Thu, 20 Jul 2023)");
script_tag(name:"creation_date", value:"2016-05-24 10:37:42 +0530 (Tue, 24 May 2016)");
script_tag(name:"qod_type", value:"remote_vul");
script_name("Sunny WebBox Hardcoded Credentials (HTTP)");
script_tag(name:"summary", value:"Sunny WebBox is using known hardcoded credentials.");
script_tag(name:"vuldetect", value:"Send a crafted request via HTTP POST and
check whether it is able to login or not.");
script_tag(name:"insight", value:"The flaw is due to:
it was possible to login with hard-coded passwords 'User:0000'
or 'Installer:1111' that cannot be changed or disabled by a user.");
script_tag(name:"impact", value:"Successful exploitation will allow remote
attackers to gain full access to the system.");
script_tag(name:"affected", value:"Sunny WebBox All versions.");
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:"http://files.sma.de/dl/8584/Sicherheit-TEN103010.pdf");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/76617");
script_xref(name:"URL", value:"https://ics-cert.us-cert.gov/advisories/ICSA-15-181-02A");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2016 Greenbone AG");
script_family("Default Accounts");
script_dependencies("gb_sunny_webbox_remote_detect.nasl", "gb_default_credentials_options.nasl");
script_mandatory_keys("Sunny/WebBox/Installed");
script_require_ports("Services/www", 8080);
script_exclude_keys("default_credentials/disable_default_account_checks");
exit(0);
}
if(get_kb_item("default_credentials/disable_default_account_checks"))
exit(0);
include("http_func.inc");
include("host_details.inc");
include("http_keepalive.inc");
include("misc_func.inc");
if(!port = get_app_port(cpe:CPE))
exit(0);
if(!get_app_location(cpe:CPE, port:port, nofork:TRUE))
exit(0);
## Create hard-coded account list
## http://files.sma.de/dl/8584/Sicherheit-TEN103010.pdf
credentials = make_list("User:0000", "Installer:1111");
url = "/culture/index.dml";
host = http_host_name(port:port);
foreach credential(credentials)
{
user_pass = split(credential, sep:":", keep:FALSE);
user = chomp(user_pass[0]);
pass = chomp(user_pass[1]);
data = string("LangEN&" + "Userlevels=" + user + "&password=" + pass);
len = strlen(data);
req = 'POST /culture/login HTTP/1.1\r\n' +
'Host: ' + host + '\r\n' +
'Content-Length: ' + len + '\r\n' +
'\r\n' +
data;
res = http_keepalive_send_recv(port:port, data:req);
if(res =~ "^HTTP/1\.[01] 200" && 'name="Sunny WebBox' >< res && 'Logout' >< res &&
'name="My Plant' >< res &&
('title="Settings' >< res || 'title="Spot Values' >< res || 'title="Updates' >< res))
{
report = http_report_vuln_url(port:port, url:"/culture/login");
report = report + '\n\nIt was possible to login using the following credentials:\n\n' + user + ':' + pass + '\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
20 Jul 2023 00:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 210
EPSS0.03388