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

      CodeSOD: A Unique Way to Primary Key

      July 22, 2025

      BrowserStack launches Figma plugin for detecting accessibility issues in design phase

      July 22, 2025

      Parasoft brings agentic AI to service virtualization in latest release

      July 22, 2025

      Node.js vs. Python for Backend: 7 Reasons C-Level Leaders Choose Node.js Talent

      July 21, 2025

      The best CRM software with email marketing in 2025: Expert tested and reviewed

      July 22, 2025

      This multi-port car charger can power 4 gadgets at once – and it’s surprisingly cheap

      July 22, 2025

      I’m a wearables editor and here are the 7 Pixel Watch 4 rumors I’m most curious about

      July 22, 2025

      8 ways I quickly leveled up my Linux skills – and you can too

      July 22, 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

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025
      Recent

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025

      Zero Trust & Cybersecurity Mesh: Your Org’s Survival Guide

      July 22, 2025

      Execute Ping Commands and Get Back Structured Data in PHP

      July 22, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025
      Recent

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025

      “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

      July 22, 2025

      Galaxy Z Fold 7 review: Six years later — Samsung finally cracks the foldable code

      July 22, 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

    A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

    July 22, 2025
    News & Updates

    “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

    July 22, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    Hewlett Packard Enterprise warns of critical StoreOnce auth bypass

    Security

    This rugged Android phone has something I’ve never seen on competing models

    News & Updates

    My new favorite keychain accessory gives me 2TB of SSD storage instantly

    News & Updates

    ESET APT Activity Report Q4 2024–Q1 2025

    Development

    Highlights

    CVE-2025-46392 – Apache Commons Configuration Uncontrolled Resource Consumption Vulnerability

    May 9, 2025

    CVE ID : CVE-2025-46392

    Published : May 9, 2025, 10:15 a.m. | 1 hour, 52 minutes ago

    Description : Uncontrolled Resource Consumption vulnerability in Apache Commons Configuration 1.x.

    There are a number of issues in Apache Commons Configuration 1.x that allow excessive resource consumption when loading untrusted configurations or using unexpected usage patterns. The Apache Commons Configuration team does not intend to fix these issues in 1.x. Apache Commons Configuration 1.x is still safe to use in scenario’s where you only load trusted configurations.

    Users that load untrusted configurations or give attackers control over usage patterns are recommended to upgrade to the 2.x version line, which fixes these issues. Apache Commons Configuration 2.x is not a drop-in replacement, but as it uses a separate Maven groupId and Java package namespace they can be loaded side-by-side, making it possible to do a gradual migration.

    Severity: 0.0 | NA

    Visit the link for more details, such as CVSS details, affected products, timeline, and more…

    How I Turned My Old Hi-Fi Speakers into Bluetooth Ones with Raspberry Pi

    May 10, 2025

    Reducing Barriers Across Industries Through Inclusive Design

    June 23, 2025

    iOS 26 will bring any photo on your iPhone to life with 3D spatial effects

    June 9, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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