Lucene search

K
openvasCopyright (C) 2024 Greenbone AGOPENVAS:1361412562310114417
HistoryMar 12, 2024 - 12:00 a.m.

Grandstream IP Phones GXP14xx <= 1.0.8.9 / GXP16xx <= 1.0.7.70 Privilege Escalation Vulnerability

2024-03-1200:00:00
Copyright (C) 2024 Greenbone AG
plugins.openvas.org
6
grandstream
ip phones
gxp14xx
gxp16xx
privilege escalation
vulnerability
firmware
cve-2023-50015
remote banner

7 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

Grandstream GXP14xx and GXP16xx Series IP phones are prone to a
privilege escalation vulnerability.

# 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:/o:grandstream:gxp1";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.114417");
  script_version("2024-06-27T05:05:29+0000");
  script_tag(name:"last_modification", value:"2024-06-27 05:05:29 +0000 (Thu, 27 Jun 2024)");
  script_tag(name:"creation_date", value:"2024-03-12 08:51:55 +0000 (Tue, 12 Mar 2024)");
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:N/I:C/A:N");

  script_cve_id("CVE-2023-50015");

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

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

  script_name("Grandstream IP Phones GXP14xx <= 1.0.8.9 / GXP16xx <= 1.0.7.70 Privilege Escalation Vulnerability");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2024 Greenbone AG");
  script_family("Privilege escalation");
  script_dependencies("gb_grandstream_gxp_consolidation.nasl");
  script_mandatory_keys("grandstream/gxp/detected");

  script_tag(name:"summary", value:"Grandstream GXP14xx and GXP16xx Series IP phones are prone to a
  privilege escalation vulnerability.");

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

  script_tag(name:"insight", value:"The flaw allows remote attackers to escalate privileges via
  incorrect access control using an end-user session-identity token.");

  script_tag(name:"affected", value:"- Grandstream GXP14xx Series with firmware version 1.0.8.9 and
  prior

  - Grandstream GXP16xx Series with firmware version 1.0.7.70 and prior");

  script_tag(name:"solution", value:"No known solution is available as of 26th June, 2024.
  Information regarding this issue will be updated once solution details are available.");

  script_xref(name:"URL", value:"https://github.com/n0obit4/Vulnerability_Disclosure/tree/main/CVE-2023-50015");
  script_xref(name:"URL", value:"https://firmware.grandstream.com/Release_Note_GXP116x_GXP14xx_1.0.8.9.pdf");
  script_xref(name:"URL", value:"https://firmware.grandstream.com/Release_Note_GXP16xx_1.0.7.70.pdf");

  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);

cpe = infos["cpe"];

if (!version = get_app_version(cpe: cpe, nofork: TRUE))
  exit(0);

if (cpe =~ "^cpe:/o:grandstream:gxp14[0-9]{2}") {
  if (version_is_less_equal(version: version, test_version: "1.0.8.9")) {
    report = report_fixed_ver(installed_version: version, fixed_version: "None");
    security_message(port: 0, data: report);
    exit(0);
  }
}

else if (cpe =~ "^cpe:/o:grandstream:gxp16[0-9]{2}") {
  if (version_is_less_equal(version: version, test_version: "1.0.7.70")) {
    report = report_fixed_ver(installed_version: version, fixed_version: "None");
    security_message(port: 0, data: report);
    exit(0);
  }
}

exit(0);

7 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

Related for OPENVAS:1361412562310114417