ADVISORY!

TLP : CLEAR

Date : 01/04/2024

REF NO : CERT / 2024/04/24

Unauthorized access to Linux systems through compromised XZ utility

Severity Level: High

Components Affected

  • XZ-utils packageversions 5.6.0 and above

Overview

A vulnerability was identified in XZ Utils within Linux Distributions. A remote attacker could exploit this vulnerability to trigger remote code execution and security restriction bypass on the targeted system.

Description

XZ Utils is a data compression software that may be present in Linux distributions. A malicious code was discovered in the upstream tarballs of xzthat may allow unauthorized access to affected systems.

The liblzma(part of the xz package) build process extracts a prebuilt object file from a disguised test file existing in the source code through a series of complex obfuscations, which is then used to modify specific functions in the liblzma code.


The resulting malicious build interferes with authentication in sshd via systemd and could potentially enable a malicious actor to break sshd authentication and gain unauthorized access to the entire system remotely.

Impact

  • Remote Code Execution
  • Security Restriction Bypass

Solution/ Workarounds

Users are advised to downgrade XZ Utils version to the uncompromised stable 5.4 6. Also, refer the respective vendors advisory for appropriate solution/update/mitigations methods.

Reference

Disclaimer : The information provided herein is on an “as is” basis, without warranty of any kind.

Sri Lanka Computer Emergency Readiness Team | Coordination Centre

Copyright © 2023 SRI LANKA CERT | CC