Cloudanix VulnDB

CVE-2022-1242

None

CVSS

—

EPSS

0.2%

Published

Jun 3, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in the crash reporting tool could let someone trick the system into giving them full administrator control through a fake connection.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Low
Impact
Privilege Gain
Component
Application
Class
Privilege Escalation
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

The vulnerability allows Apport to be tricked into connecting to arbitrary sockets while running as the root user, enabling potential privilege escalation.

Why it matters to the business

Attackers could gain root-level access on affected Linux systems, risking full compromise, though low EPSS and lack of KEV listing or ransomware use indicate limited immediate threat; libde265 packages on Alpine Linux v3.16-v3.19 are listed as impacted with fixes available.

How an attack unfolds

An attacker crafts conditions to trigger Apport's crash reporting, causing it to initiate a root-privileged connection to an arbitrary attacker-controlled socket instead of its intended destination.

How to fix it

Upgrade libde265 to version 1.0.15-r0 on Alpine Linux v3.16, v3.17, v3.18, and v3.19; apply equivalent patches for Apport where available and restart affected services.

How to confirm the fix worked

Confirm package versions match or exceed the fixed releases listed for each Alpine branch and test Apport behavior to ensure it only connects to expected sockets.

Typical attack path

  1. Identify a system running vulnerable Apport
  2. Cause a monitored process to crash in a controlled manner
  3. Manipulate socket or environment settings to redirect the connection
  4. Apport establishes root connection to attacker endpoint
  5. Abuse the privileged channel for further actions

How to detect it

Review Apport and system logs for unexpected socket connections initiated by root processes, focusing on crash report triggers and network activity around apport.

What your security team should do

  • Prioritize patching libde265 and Apport to fixed versions
  • Audit systems for any custom Apport configurations
  • Enable monitoring for unexpected root socket activity

The record

Apport can be tricked into connecting to arbitrary sockets as the root user

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:18.04:LTS apport 0 2.20.9-0ubuntu7.28
Ubuntu:20.04:LTS apport 0 2.20.11-0ubuntu27.24
Ubuntu:22.04:LTS apport 0 2.20.11-0ubuntu82.1
Ubuntu:Pro:14.04:LTS apport 0 No fix
Ubuntu:Pro:16.04:LTS apport 0 2.20.1-0ubuntu2.30+esm4

Related vulnerabilities