Today's cybersecurity headlines are brought to you by ThreatPerspective


Ethical Hacking News

Decades-Old Security Vulnerabilities Exposed: Needrestart Package Left Unpatched for Years



A recently discovered security vulnerability in the needrestart package on Ubuntu Server poses a significant risk to system integrity and security. The five flaws found in the needrestart package are trivial to exploit and could allow a local attacker to gain root privileges without requiring user interaction. Update now to ensure your systems remain secure.


  • The needrestart package on Ubuntu Server has a newly discovered security vulnerability that poses a significant risk to system integrity and security.
  • The five vulnerabilities found in the needrestart package allow local attackers to gain root privileges without requiring user interaction.
  • The fix for these vulnerabilities involves updating to the latest patches or disabling interpreter scanners in needrestart through the configuration file as a temporary mitigation.
  • Users who are unable to update immediately should disable interpreter scanners in needrestart to prevent exploitation of these vulnerabilities.
  • The discovery highlights the importance of keeping software up to date and continuous monitoring of system security.



  • The Linux community has been dealt a significant blow as a security vulnerability was recently discovered in the needrestart package, which is installed by default on Ubuntu Server since version 21.04. This vulnerability, which was identified and reported by the Qualys Threat Research Unit (TRU) last month, poses a significant risk to system integrity and security. The five flaws found in the needrestart package are trivial to exploit and could allow a local attacker to gain root privileges without requiring user interaction.

    The needrestart package is a utility that scans a system to determine the services that need to be restarted after applying shared library updates in a manner that avoids a complete system reboot. While this might seem like a minor vulnerability, it can have significant consequences if exploited by an attacker. In the worst-case scenario, an attacker could gain root access to a system, compromising its security and integrity.

    The five vulnerabilities found in the needrestart package are as follows:

    1. CVE-2024-48990 (CVSS score: 7.8) - A vulnerability that allows local attackers to execute arbitrary code as root by tricking needrestart into running the Python interpreter with an attacker-controlled PYTHONPATH environment variable.
    2. CVE-2024-48991 (CVSS score: 7.8) - A vulnerability that allows local attackers to execute arbitrary code as root by winning a race condition and tricking needrestart into running their own, fake Python interpreter.
    3. CVE-2024-48992 (CVSS score: 7.8) - A vulnerability that allows local attackers to execute arbitrary code as root by tricking needrestart into running the Ruby interpreter with an attacker-controlled RUBYLIB environment variable.
    4. CVE-2024-11003 (CVSS score: 7.8) - A vulnerability that allows a local attacker to execute arbitrary shell commands as root by taking advantage of an issue in the libmodule-scandeps-perl package (before version 1.36).
    5. CVE-2024-10224 (CVSS score: 5.3) - A vulnerability that allows a local attacker to execute arbitrary shell commands as root by taking advantage of an issue in the libmodule-scandeps-perl package (before version 1.36).

    The fix for these vulnerabilities involves updating to the latest patches, which can be downloaded from the Ubuntu website. However, users who are unable to update immediately may disable interpreter scanners in needrestart through the configuration file as a temporary mitigation until the updates are applied.

    "These vulnerabilities in the needrestart utility allow local users to escalate their privileges by executing arbitrary code during package installations or upgrades, where needrestart is often run as the root user," said Saeed Abbasi, product manager of TRU at Qualys. "An attacker exploiting these vulnerabilities could gain root access, compromising system integrity and security."

    The discovery of this vulnerability highlights the importance of keeping software up to date and the need for continuous monitoring of system security. The Qualys Threat Research Unit (TRU) has been actively involved in identifying and reporting vulnerabilities such as this one, which helps to ensure that users are aware of potential risks and can take steps to mitigate them.

    In conclusion, the recent discovery of security vulnerabilities in the needrestart package on Ubuntu Server is a significant concern for system administrators and security experts. While these vulnerabilities are trivial to exploit, they could have serious consequences if not addressed promptly. Users who are running affected versions of Ubuntu should update immediately to ensure their systems remain secure.



    Related Information:

  • https://thehackernews.com/2024/11/decades-old-security-vulnerabilities.html


  • Published: Wed Nov 20 03:59:26 2024 by llama3.2 3B Q4_K_M













         


    © Ethical Hacking News . All rights reserved.

    Privacy | Terms of Use | Contact Us