Cloudanix VulnDB

CVE-2023-25362

High · 8.8

CVSS

8.8

EPSS

1.0%

Published

Mar 2, 2023

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in how certain network management software handles memory can let attackers take over affected computers if users visit malicious content, so updating the software removes the weakness.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Remote Code Execution
Component
Web Framework
Class
Use After Free
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Use-after-free in WebCore::RenderLayer::repaintBlockSelectionGaps leads to memory corruption that can be leveraged for remote code execution.

Why it matters to the business

Systems running affected connman packages on Debian and Ubuntu releases remain exposed to remote compromise for over three years after disclosure, increasing risk of unauthorized access and operational disruption across networks that rely on these distributions.

How an attack unfolds

An attacker supplies specially crafted content processed by WebKitGTK rendering paths used by connman, triggering the repaintBlockSelectionGaps function after an object has been freed, resulting in arbitrary code execution. Named threat actors associated with Apple product vulnerabilities have been linked to similar WebKit use-after-free issues.

How to fix it

Upgrade connman to the following fixed versions: Debian 11 to 1.36-2.2+deb11u2, Debian 12/13 to 1.41-3, Ubuntu 20.04 LTS to 1.36-2ubuntu0.1, Ubuntu 22.04 LTS to 1.36-2.3ubuntu0.1, Ubuntu Pro 18.04 LTS to 1.35-6ubuntu0.1~esm1, and Ubuntu Pro 16.04 LTS to 1.21-1.2+deb8u1ubuntu0.1~esm1.

How to confirm the fix worked

Verify installed connman package versions match or exceed the listed fixed releases for each distribution and confirm WebKitGTK components are updated beyond 2.36.8 where applicable.

Typical attack path

  1. Identify a target running an affected connman package on Debian or Ubuntu
  2. Deliver malicious content that exercises WebKitGTK rendering
  3. Trigger the vulnerable repaintBlockSelectionGaps code path
  4. Exploit the resulting use-after-free for code execution

How to detect it

Review system logs and package histories for signs of exploitation attempts against WebKitGTK rendering paths; correlate with known threat actor activity targeting Apple WebKit use-after-free flaws.

What your security team should do

  • Apply the listed connman package updates immediately on all Debian 11/12/13 and Ubuntu 16.04/18.04/20.04/22.04 systems
  • Prioritize patching for internet-facing or high-value hosts given the remote code execution impact
  • Monitor for new WebKitGTK releases and audit any downstream dependencies on affected connman packages

The record

A use-after-free vulnerability in WebCore::RenderLayer::repaintBlockSelectionGaps in WebKitGTK before 2.36.8 allows attackers to execute code remotely.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 webkit2gtk3 0 2.38.5-1.el8
AlmaLinux:8 webkit2gtk3-devel 0 2.38.5-1.el8
AlmaLinux:8 webkit2gtk3-jsc 0 2.38.5-1.el8
AlmaLinux:8 webkit2gtk3-jsc-devel 0 2.38.5-1.el8
AlmaLinux:9 webkit2gtk3 0 2.38.5-1.el9
AlmaLinux:9 webkit2gtk3-devel 0 2.38.5-1.el9
AlmaLinux:9 webkit2gtk3-jsc 0 2.38.5-1.el9
AlmaLinux:9 webkit2gtk3-jsc-devel 0 2.38.5-1.el9
Debian:10 webkit2gtk 0 2.38.0-1~deb10u1
Debian:11 webkit2gtk 0 2.38.0-1~deb11u1
Debian:11 wpewebkit 0 2.38.0-1~deb11u1
Debian:12 webkit2gtk 0 2.38.0-1
Debian:12 wpewebkit 0 2.38.0-1
Debian:13 webkit2gtk 0 2.38.0-1
Debian:13 wpewebkit 0 2.38.0-1
Red Hat:enterprise_linux:8::appstream webkit2gtk3 0 0:2.38.5-1.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-debuginfo 0 0:2.38.5-1.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-debugsource 0 0:2.38.5-1.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-devel 0 0:2.38.5-1.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-devel-debuginfo 0 0:2.38.5-1.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-jsc 0 0:2.38.5-1.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-jsc-debuginfo 0 0:2.38.5-1.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-jsc-devel 0 0:2.38.5-1.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-jsc-devel-debuginfo 0 0:2.38.5-1.el8
Red Hat:enterprise_linux:9::appstream webkit2gtk3 0 0:2.38.5-1.el9
Red Hat:enterprise_linux:9::appstream webkit2gtk3-debuginfo 0 0:2.38.5-1.el9
Red Hat:enterprise_linux:9::appstream webkit2gtk3-debugsource 0 0:2.38.5-1.el9
Red Hat:enterprise_linux:9::appstream webkit2gtk3-devel 0 0:2.38.5-1.el9
Red Hat:enterprise_linux:9::appstream webkit2gtk3-devel-debuginfo 0 0:2.38.5-1.el9
Red Hat:enterprise_linux:9::appstream webkit2gtk3-jsc 0 0:2.38.5-1.el9
Red Hat:enterprise_linux:9::appstream webkit2gtk3-jsc-debuginfo 0 0:2.38.5-1.el9
Red Hat:enterprise_linux:9::appstream webkit2gtk3-jsc-devel 0 0:2.38.5-1.el9
Red Hat:enterprise_linux:9::appstream webkit2gtk3-jsc-devel-debuginfo 0 0:2.38.5-1.el9
SUSE:Enterprise Storage 7 webkit2gtk3 0 2.38.6-150200.72.1
SUSE:Enterprise Storage 7.1 webkit2gtk3 0 2.38.6-150200.72.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS webkit2gtk3 0 2.38.6-150000.3.139.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS webkit2gtk3 0 2.38.6-150200.72.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS webkit2gtk3 0 2.38.6-150200.72.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS webkit2gtk3 0 2.38.6-150200.72.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 webkit2gtk3-soup2 0 2.38.6-150400.4.39.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 webkit2gtk3 0 2.38.6-150400.4.39.1
SUSE:Linux Enterprise Module for Development Tools 15 SP4 webkit2gtk4 0 2.38.6-150400.4.39.1
SUSE:Linux Enterprise Real Time 15 SP3 webkit2gtk3 0 2.38.6-150200.72.1
SUSE:Linux Enterprise Server 12 SP2-BCL webkit2gtk3 0 2.38.6-2.136.1
SUSE:Linux Enterprise Server 12 SP4-ESPOS webkit2gtk3 0 2.38.6-2.136.1
SUSE:Linux Enterprise Server 12 SP4-LTSS webkit2gtk3 0 2.38.6-2.136.1
SUSE:Linux Enterprise Server 12 SP5 webkit2gtk3 0 2.38.6-2.136.1
SUSE:Linux Enterprise Server 15 SP1-LTSS webkit2gtk3 0 2.38.6-150000.3.139.1
SUSE:Linux Enterprise Server 15 SP2-LTSS webkit2gtk3 0 2.38.6-150200.72.1
SUSE:Linux Enterprise Server 15 SP3-LTSS webkit2gtk3 0 2.38.6-150200.72.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 webkit2gtk3 0 2.38.6-2.136.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 webkit2gtk3 0 2.38.6-2.136.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 webkit2gtk3 0 2.38.6-150000.3.139.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 webkit2gtk3 0 2.38.6-150200.72.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 webkit2gtk3 0 2.38.6-150200.72.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 webkit2gtk3 0 2.38.6-2.136.1
SUSE:Manager Proxy 4.2 webkit2gtk3 0 2.38.6-150200.72.1
SUSE:Manager Server 4.2 webkit2gtk3 0 2.38.6-150200.72.1
SUSE:OpenStack Cloud 9 webkit2gtk3 0 2.38.6-2.136.1
SUSE:OpenStack Cloud Crowbar 9 webkit2gtk3 0 2.38.6-2.136.1
Ubuntu:16.04:LTS webkitgtk 0 No fix
Ubuntu:18.04:LTS webkitgtk 0 No fix
Ubuntu:Pro:16.04:LTS webkitgtk 0 No fix
Ubuntu:Pro:18.04:LTS webkitgtk 0 No fix
openSUSE:Leap 15.4 webkit2gtk3 0 2.38.6-150400.4.39.1
openSUSE:Leap 15.4 webkit2gtk3 0 2.38.6-150200.72.1
openSUSE:Leap 15.4 webkit2gtk3-soup2 0 2.38.6-150400.4.39.1
openSUSE:Leap 15.4 webkit2gtk4 0 2.38.6-150400.4.39.1

Related vulnerabilities