Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 20, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 20, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 20, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 20, 2025

      GPT-5 should have a higher “degree of scientific certainty” than the current ChatGPT — but with less model switching

      May 20, 2025

      Elon Musk’s Grok 3 AI coming to Azure proves Satya Nadella’s allegiance isn’t to OpenAI, but to maximizing Microsoft’s profit gains by heeding consumer demands

      May 20, 2025

      One of the most promising open-world RPGs in years is releasing next week on Xbox and PC

      May 20, 2025

      NVIDIA’s latest driver fixes some big issues with DOOM: The Dark Ages

      May 20, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Community News: Latest PECL Releases (05.20.2025)

      May 20, 2025
      Recent

      Community News: Latest PECL Releases (05.20.2025)

      May 20, 2025

      Getting Started with Personalization in Sitecore XM Cloud: Enable, Extend, and Execute

      May 20, 2025

      Universal Design and Global Accessibility Awareness Day (GAAD)

      May 20, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      GPT-5 should have a higher “degree of scientific certainty” than the current ChatGPT — but with less model switching

      May 20, 2025
      Recent

      GPT-5 should have a higher “degree of scientific certainty” than the current ChatGPT — but with less model switching

      May 20, 2025

      Elon Musk’s Grok 3 AI coming to Azure proves Satya Nadella’s allegiance isn’t to OpenAI, but to maximizing Microsoft’s profit gains by heeding consumer demands

      May 20, 2025

      One of the most promising open-world RPGs in years is releasing next week on Xbox and PC

      May 20, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Operating Systems»Linux»Ubuntu 24.04 e le vulnerabilità nei Namespace non privilegiati: cosa sapere

    Ubuntu 24.04 e le vulnerabilità nei Namespace non privilegiati: cosa sapere

    April 2, 2025
    Ubuntu 24 04

    Ubuntu, una delle distribuzioni GNU/Linux più popolari e utilizzate al mondo, ha introdotto la sua ultima versione LTS (Long Term Support), Ubuntu 24.04, il 25 aprile 2024. Questa versione, soprannominata “Noble Numbat“, è basata sul kernel Linux 6.8 e include numerose novità, come il desktop GNOME 46 e un nuovo installer (programma di installazione) per il sistema. Tuttavia, di recente sono emerse preoccupazioni legate alla sicurezza dei Namespace non privilegiati del kernel Linux, una funzionalità che consente agli utenti senza privilegi amministrativi di creare ambienti isolati.

    Cosa sono i Namespace e perché sono importanti

    I Namespace sono una componente fondamentale del kernel Linux, progettata per isolare risorse di sistema come processi, rete e file system. Questa tecnologia è essenziale per il funzionamento dei container, poiché consente di creare ambienti separati in cui le applicazioni possono essere eseguite senza interferire con il sistema principale o con altri container.

    In combinazione con i Control Groups (CGroups), che regolano l’accesso alle risorse hardware come CPU e memoria, i Namespace formano la base dell’architettura dei container. Tuttavia, consentire agli utenti non privilegiati di creare Namespace espande la superficie di attacco del kernel Linux, rendendo il sistema potenzialmente vulnerabile a exploit che sfruttano falle nel codice.

    Le vulnerabilità scoperte da Qualys

    Il team di ricerca sulle minacce di Qualys (Qualys TRU) ha recentemente identificato 3 metodi per aggirare le restrizioni sui Namespace non privilegiati implementate in Ubuntu 24.04 tramite AppArmor. AppArmor è un modulo di sicurezza del kernel Linux che utilizza profili per limitare l’accesso delle applicazioni alle risorse di sistema, creando una sorta di sandbox.

    Le vulnerabilità scoperte consentono a un attaccante locale senza privilegi amministrativi di ottenere diritti completi all’interno dei Namespace utente sfruttando 3 metodi distinti che sono dettagliatamente illustrati presso questo indirizzo e, nello specifico, si riferiscono a:

    • Bypass tramite aa-exec: lo strumento aa-exec, installato di default su Ubuntu, può essere utilizzato per passare a profili AppArmor preconfigurati che permettono la creazione di Namespace utente con privilegi completi.
    • Bypass tramite BusyBox: la shell busybox, anch’essa installata di default su Ubuntu, dispone di un profilo AppArmor che consente la creazione di Namespace utente con pieni diritti amministrativi.
    • Bypass tramite LD_PRELOAD: un attaccante può utilizzare la variabile LD_PRELOAD per caricare una libreria condivisa in programmi come Nautilus (il file manager predefinito su Ubuntu Desktop) e ottenere l’accesso completo ai Namespace utente.

    Questi metodi non permettono un controllo completo del sistema in cui si inseriscono ma possono essere combinati con altre vulnerabilità del kernel Linux per aumentare i privilegi e compromettere ulteriormente la sicurezza.

    La risposta di Canonical

    Canonical, l’azienda dietro Ubuntu, è al corrente delle vulnerabilità e ha pubblicato linee guida dettagliate per mitigare i rischi. Le istruzioni includono:

    • Abilitare l’opzione kernel.apparmor_restrict_unprivileged_userns=1 per limitare ulteriormente l’accesso ai Namespace non privilegiati.
    • Rimuovere o modificare i profili AppArmor permissivi associati a BusyBox e Nautilus.
    • Utilizzare profili personalizzati basati su strumenti come bwrap per controllare in modo più granulare l’accesso ai Namespace.

    Queste misure possono migliorare significativamente la sicurezza del sistema fino a quando non saranno disponibili aggiornamenti ufficiali che risolvano completamente il problema.

    Impatto sulle versioni di Ubuntu

    Le vulnerabilità interessano tutte le versioni di Ubuntu dalla 24.04 in avanti. Sebbene le restrizioni sui Namespace non privilegiati siano state introdotte già in Ubuntu 23.10, erano disabilitate di default in quella versione. Gli utenti che utilizzano Ubuntu 24.04 o versioni successive sono invitati a verificare lo stato delle loro installazioni e ad applicare immediatamente le mitigazioni consigliate.

    Per ulteriori dettagli tecnici e istruzioni complete sulle mitigazioni, si consiglia di consultare la documentazione ufficiale su Discourse o il report pubblicato da Qualys TRU.

    Fonte: https://blog.qualys.com/vulnerabilities-threat-research/2025/03/27/qualys-tru-discovers-three-bypasses-of-ubuntu-unprivileged-user-namespace-restrictions
    Fonte: https://www.qualys.com/2025/three-bypasses-of-Ubuntu-unprivileged-user-namespace-restrictions.txt
    Fonte: https://discourse.ubuntu.com/t/understanding-apparmor-user-namespace-restriction/58007

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous Article5 Tools to Enhance Your AppImage Experience on Linux
    Next Article SMIL on?

    Related Posts

    News & Updates

    GPT-5 should have a higher “degree of scientific certainty” than the current ChatGPT — but with less model switching

    May 20, 2025
    News & Updates

    Elon Musk’s Grok 3 AI coming to Azure proves Satya Nadella’s allegiance isn’t to OpenAI, but to maximizing Microsoft’s profit gains by heeding consumer demands

    May 20, 2025
    Leave A Reply Cancel Reply

    Hostinger

    Continue Reading

    Build and deploy a UI for your generative AI applications with AWS and Python

    Development

    Use Vue or React Components in a Livewire App with MingleJS

    Development

    Data Leak Exposes TopSec’s Role in China’s Censorship-as-a-Service Operations

    Development

    Apple Researchers Present ReALM: An AI that Can ‘See’ and Understand Screen Context

    Development

    Highlights

    Development

    Meet the Top 100 Cybersecurity Leaders in Australia & New Zealand

    February 6, 2025

    As cyber threats become more advanced, the need for strong leadership in cybersecurity is clearer…

    Madalin Ciuculescu

    November 30, 2024

    New OG Spoof Toolkit Manipulates Social Media Links for Cybercrime

    February 10, 2025

    NVIDIA drops another “horrible driver” — The latest update still hasn’t fixed GPU stability issues for all

    April 17, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.