The Information Highway

The Information Highway

Font size: +
2 minutes reading time (469 words)

XZ Utils supply chain vulnerability

Threat update

A supply chain vulnerability was found in XZ Utils that creates a backdoor into OpenSSH and can lead to remote code execution (RCE). Read this Cybersecurity Threat Advisory to learn about this supply chain vulnerability and how to reduce your risks. 

Technical Detail and Additional Info

What is the threat?

XZ Utils is a command line tool that can implement the liblzma compression and decompression algorithms. The vulnerability (CVE-2024-3094) was initially stated as an SSH authentication bypass backdoor, however, later it was discovered that it is also a remote code execution (RCE) vulnerability that affects OpenSSH. The threat is only exploitable by the threat actor as it uses a private key held by the actor.

The threat actor contributed to the XZ Utils project for two years to gain container responsibilities. With additional permission, the bad actor was able to include the malicious code in the tarball release's source code. The vulnerable code was hidden during the build process of dependent projects. During the build process, files were extracted and unencrypted then compiled into liblzma. It was then loaded into SSHD during its startup via Systemd and patched OpenSSH to support system notifications. 

Why is it noteworthy?

The execution of this supply chain attack is one of the best to-date. Itillustrates how sophisticated attacks has downstream dependencies. A single experienced individual gained the trust of a community, achieved commit permissions and manager rights, to include malicious code in distributions. The threat actor knew how to hide malicious codeto easily bypass discovery. Thisvulnerability could have been more impactful and devastating than SolarWinds supply chain attack.

What is the exposure or risk?

  • XZ Utils version 5.6.0
  • XZ Utils version 5.6.1
  • Fedora version 40
  • Fedora version 41
  • Debian Unstable / sid only versions ranging from 5.5.1alpha-0.1 (uploaded on 2024-02-01), up to and including 5.6.1-1
  • Kali Linux systems updated between March 26 and March 29, 2024
  • OpenSUSE Tumbleweed and MicroOS rolling releases between March 7 and March 28, 2024
  • Arch Linux
    • Installation medium 2024.03.01
    • Virtual machine images 20240301.218094 and 20240315.221711
    • Container images created inclusive of 2024-02-24 to 2024-03-28

What are the recommendations?

 LBT Technology Group, LLC. recommends the following preventative steps to minimize the risks and strengthen the security posture:

  • Identify if the system is running an affected version. Use the package manager to check the version such as:
    • Apt info xz-utils
    • Rpm -i xz-utils
      • If the version is 5.6 or 5.6.1 then downgrade or disable OpenSSH
  • Some researchers have found a kill switch to the backdoor by adding the key "yolAbejyiejuvnup=Evjtgvsh5okmkAvj" to the system's environment variables.
  • Update/downgrade systems to manufacturer recommendations.

References

D-Link NAS vulnerabilities
Over 92,000 exposed D-Link NAS devices have a back...

Related Posts

 

Comments

No comments made yet. Be the first to submit a comment
Saturday, 28 December 2024

Captcha Image

Top Breaches Of 2023

Customers Affected In T-Mobile Breach
Accounts Affected In MOVEit Breach
Customers Affected In MCNA Insurance Data Breach
Individuals Affected In PharMerica Data Breach
Users Affected In ChatGPT Major Data Breach
*Founder Shield End of Year 2023