CVSS3
Attack Vector
ADJACENT
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AI Score
Confidence
Low
Sonos One speakers are prone to multiple vulnerabilities.
# SPDX-FileCopyrightText: 2024 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_PREFIX = "cpe:/a:sonos:";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.170808");
script_version("2024-09-19T05:05:57+0000");
script_tag(name:"last_modification", value:"2024-09-19 05:05:57 +0000 (Thu, 19 Sep 2024)");
script_tag(name:"creation_date", value:"2024-09-16 11:03:02 +0000 (Mon, 16 Sep 2024)");
script_tag(name:"cvss_base", value:"8.3");
script_tag(name:"cvss_base_vector", value:"AV:A/AC:L/Au:N/C:C/I:C/A:C");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2023-05-04 17:31:29 +0000 (Thu, 04 May 2023)");
script_cve_id("CVE-2023-27352", "CVE-2023-27353", "CVE-2023-27354", "CVE-2023-27355");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
script_name("Sonos One Speakers S1 App < 11.7.1, S2 App < 15.1 Multiple Vulnerabilities");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2024 Greenbone AG");
script_family("General");
script_dependencies("gb_sonos_upnp_tcp_detect.nasl");
script_mandatory_keys("sonos/detected");
script_tag(name:"summary", value:"Sonos One speakers are prone to multiple vulnerabilities.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"The following flaws exist:
- CVE-2023-27352: libsmb2 use-after-free remote code execution (RCE)
- CVE-2023-27353: msprox endpoint out-of-bounds read information disclosure
- CVE-2023-27354: libsmb2 integer overflow information disclosure
- CVE-2023-27355: MPEG-TS parser stack-based buffer overflow");
script_tag(name:"affected", value:"- Sonos One speakers with S1 app prior to version 11.7.1
- Sonos One speakers with S2 app prior to version 15.1");
script_tag(name:"solution", value:"- Update Sonos One speakers with S1 app to version 11.7.1 or
later
- Update Sonos One speakers with S2 app to version 15.1 or later");
script_xref(name:"URL", value:"https://www.zerodayinitiative.com/advisories/ZDI-23-447/");
script_xref(name:"URL", value:"https://www.zerodayinitiative.com/advisories/ZDI-23-448/");
script_xref(name:"URL", value:"https://www.zerodayinitiative.com/advisories/ZDI-23-446/");
script_xref(name:"URL", value:"https://www.zerodayinitiative.com/advisories/ZDI-23-449/");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if (!infos = get_app_port_from_cpe_prefix(cpe: CPE_PREFIX, first_cpe_only: TRUE))
exit(0);
if (!model = get_kb_item("sonos/model"))
exit(0);
# nb: NVD advisory specifically mentions Sonos One Speaker 70.3-35220
# but the ZDI advisories have no mention of a specific firmware version so checking all Sonos One firmwares
if (model !~ "^One$")
exit(99);
cpe = infos["cpe"];
port = infos["port"];
if (!version = get_app_version(cpe: cpe, port: port, nofork: TRUE))
exit(0);
if (cpe == "cpe:/a:sonos:s1") {
if (version_is_less(version: version, test_version: "11.7.1")) {
report = report_fixed_ver(installed_version: version, fixed_version: "11.7.1");
security_message(port: port, data: report);
exit(0);
}
}
else if (cpe == "cpe:/a:sonos:s2") {
if (version_is_less(version: version, test_version: "15.1")) {
report = report_fixed_ver(installed_version: version, fixed_version: "15.1");
security_message(port: port, data: report);
exit(0);
}
}
exit(99);