Lucene search
K

Microsoft Windows Subsystem for Linux (WSL2) < 2.5.10 Kernel Elevation of Privilege (August 2025)

🗓️ 15 Aug 2025 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 6 Views

WSL2 before 2.5.10 has TOCTOU based local privilege escalation (CVE-2025-53788).

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(250272);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/08/15");

  script_cve_id("CVE-2025-53788");
  script_xref(name:"IAVA", value:"2025-A-0605");

  script_name(english:"Microsoft Windows Subsystem for Linux (WSL2) < 2.5.10 Kernel Elevation of Privilege (August 2025)");

  script_set_attribute(attribute:"synopsis", value:
"Microsoft Windows Subsystem for Linux (WSL2) is affected by a kernel elevation of privilege vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of Microsoft Windows Subsystem for Linux (WSL2) on the remote Windows host is prior to 2.5.10. It is,
therefore, affected by a kernel elevation of privilege vulnerability:

  - Time-of-check time-of-use (toctou) race condition in Windows Subsystem for Linux allows an authorized attacker to
    elevate privileges locally. (CVE-2025-53788)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  # https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-53788
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?ec1a8c99");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Microsoft Windows Subsystem for Linux (WSL2) version 2.5.10 or later via the Microsoft Store.");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:H/Au:S/C:C/I:C/A:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2025-53788");

  script_set_attribute(attribute:"vuln_publication_date", value:"2025/08/12");
  script_set_attribute(attribute:"patch_publication_date", value:"2025/08/12");
  script_set_attribute(attribute:"plugin_publication_date", value:"2025/08/15");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:windows_subsystem_for_linux");
  script_set_attribute(attribute:"stig_severity", value:"I");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

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

  script_dependencies("smb_hotfixes.nasl", "wmi_enum_windows_app_store.nbin");
  script_require_keys("SMB/Registry/Enumerated", "WMI/Windows App Store/Enumerated");
  script_require_ports(139, 445);

  exit(0);
}

include('vcf_extras.inc');

var app = 'MicrosoftCorporationII.WindowsSubsystemForLinux';

var app_info = vcf::microsoft_appstore::get_app_info(app:app);

var constraints = [
    { 'fixed_version':'2.5.10' }
];

vcf::microsoft_appstore::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);

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

15 Aug 2025 00:00Current
5.5Medium risk
Vulners AI Score5.5
CVSS 3.17
EPSS0.00209
SSVC
6