Lucene search
K

NewStart CGSL MAIN 7.02 : systemd Vulnerability (NS-SA-2026-0034)

🗓️ 28 Mar 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 16 Views

NewStart CGSL MAIN 7.02 systemd-coredump flaws allow local attackers to crash SUID processes and read core dumps.

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from ZTE advisory NS-SA-2026-0034. The text
# itself is copyright (C) ZTE, Inc.
##

include('compat.inc');

if (description)
{
  script_id(304044);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/03/28");

  script_cve_id("CVE-2025-4598");

  script_name(english:"NewStart CGSL MAIN 7.02 : systemd Vulnerability (NS-SA-2026-0034)");

  script_set_attribute(attribute:"synopsis", value:
"The remote NewStart CGSL host is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"The remote NewStart CGSL host, running version MAIN 7.02, has systemd packages installed that are affected by a
vulnerability:

  - The systemd-coredump is prone to a kill-and-replace race condition which may allow a local attacker to
    gain sensitive information from crashed SUID processes. Additionally systemd-coredump does not specify %d
    (the kernel's per-process dumpable flag) in /proc/sys/kernel/core_pattern allowing a local attacker to
    crash root daemons that fork() and setuid() to the attacker's uid and consequently gain read access to the
    resulting core dumps and therefore to sensitive information from memory of the root daemons.
    (CVE-2025-4598)

  - A vulnerability was found in systemd-coredump. This flaw allows an attacker to force a SUID process to
    crash and replace it with a non-SUID binary to access the original's privileged process coredump, allowing
    the attacker to read sensitive data, such as /etc/shadow content, loaded by the original process. A SUID
    binary or process has a special type of permission, which allows the process to run with the file owner's
    permissions, regardless of the user executing the binary. This allows the process to access more
    restricted data than unprivileged users or processes would be able to. An attacker can leverage this flaw
    by forcing a SUID process to crash and force the Linux kernel to recycle the process PID before systemd-
    coredump can analyze the /proc/pid/auxv file. If the attacker wins the race condition, they gain access to
    the original's SUID process coredump file. They can read sensitive content loaded into memory by the
    original binary, affecting data confidentiality. (CVE-2025-4598)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/notice/NS-SA-2026-0034");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2025-4598");
  script_set_attribute(attribute:"solution", value:
"Upgrade the vulnerable CGSL systemd packages. Note that updated packages may not be available yet. Please contact ZTE
for more information.");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:S/C:P/I:N/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
  script_set_attribute(attribute:"cvss4_vector", value:"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N");
  script_set_attribute(attribute:"cvss4_threat_vector", value:"CVSS:4.0/E:P");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2025-4598");

  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:"2025/05/29");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/03/27");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/03/28");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-battery-check");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-boot-unsigned");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-bsod");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-container");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-devel");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-doc");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-journal-remote");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-libs");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-libs-core");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-oomd-defaults");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-pam");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-pcrlock");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-resolved");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-rpm-macros");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-standalone-repart");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-standalone-shutdown");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-standalone-sysusers");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-standalone-tmpfiles");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-storagetm");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-tests");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:systemd-udev");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:zte:cgsl_main:7");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"NewStart CGSL Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("ssh_get_info2.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/ZTE-CGSL/release", "Host/ZTE-CGSL/rpm-list", "Host/cpu");

  exit(0);
}

include('rpm2.inc');

if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);

var os_release = get_kb_item('Host/ZTE-CGSL/release');
if (isnull(os_release) || os_release !~ "^CGSL (MAIN|CORE)") audit(AUDIT_OS_NOT, 'NewStart Carrier Grade Server Linux');

if (os_release !~ "CGSL\sMAIN\s7\.02")
  audit(AUDIT_OS_NOT, 'NewStart CGSL MAIN 7.02');

if (!get_kb_item('Host/ZTE-CGSL/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);

var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('x86_64' >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'NewStart Carrier Grade Server Linux', cpu);

var flag = 0;

var pkgs = {
  'CGSL MAIN 7.02': [
    'systemd-255-3.zncgsl7.21',
    'systemd-battery-check-255-3.zncgsl7.21',
    'systemd-boot-unsigned-255-3.zncgsl7.21',
    'systemd-bsod-255-3.zncgsl7.21',
    'systemd-container-255-3.zncgsl7.21',
    'systemd-devel-255-3.zncgsl7.21',
    'systemd-doc-255-3.zncgsl7.21',
    'systemd-journal-remote-255-3.zncgsl7.21',
    'systemd-libs-255-3.zncgsl7.21',
    'systemd-libs-core-255-3.zncgsl7.21',
    'systemd-oomd-defaults-255-3.zncgsl7.21',
    'systemd-pam-255-3.zncgsl7.21',
    'systemd-pcrlock-255-3.zncgsl7.21',
    'systemd-resolved-255-3.zncgsl7.21',
    'systemd-rpm-macros-255-3.zncgsl7.21',
    'systemd-standalone-repart-255-3.zncgsl7.21',
    'systemd-standalone-shutdown-255-3.zncgsl7.21',
    'systemd-standalone-sysusers-255-3.zncgsl7.21',
    'systemd-standalone-tmpfiles-255-3.zncgsl7.21',
    'systemd-storagetm-255-3.zncgsl7.21',
    'systemd-tests-255-3.zncgsl7.21',
    'systemd-udev-255-3.zncgsl7.21'
  ]
};
var pkg_list = pkgs[os_release];
var pkg;
foreach (pkg in pkg_list)
  if (rpm_check(reference:pkg, release:'ZTE ' + os_release, rpm_spec_vers_cmp:TRUE)) flag++;

if (flag)
{
  security_report_v4(
    port       : 0,
    severity   : SECURITY_NOTE,
    extra      : rpm_report_get()
  );
  exit(0);
}
else
{
  var tested = pkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'systemd');
}

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

28 Mar 2026 00:00Current
6Medium risk
Vulners AI Score6
CVSS 3.14.7
EPSS0.0066
SSVC
16