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

      The Double-Edged Sustainability Sword Of AI In Web Design

      August 20, 2025

      Top 12 Reasons Enterprises Choose Node.js Development Services for Scalable Growth

      August 20, 2025

      GitHub’s coding agent can now be launched from anywhere on platform using new Agents panel

      August 20, 2025

      Stop writing tests: Automate fully with Generative AI

      August 19, 2025

      I’m a diehard Pixel fan, but I’m not upgrading to the Pixel 10. Here’s why

      August 21, 2025

      Google Pixel Watch 4 vs. Samsung Galaxy Watch 8: I compared the two best Androids, and here’s the winner

      August 21, 2025

      Get a free Amazon gift card up to $300 when you preorder a new Google Pixel 10 phone – here’s how

      August 21, 2025

      Everything announced at Made by Google 2025: Pixel 10 Pro, Fold, Watch 4, and more

      August 21, 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

      Copy Errors as Markdown to Share With AI in Laravel 12.25

      August 21, 2025
      Recent

      Copy Errors as Markdown to Share With AI in Laravel 12.25

      August 21, 2025

      Deconstructing the Request Lifecycle in Sitecore Headless – Part 2: SSG and ISR Modes in Next.js

      August 20, 2025

      Susan Etlinger, AI Analyst and Industry Watcher on Building Trust

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

      TerraMaster D1 SSD Plus Review: Experience a Faster External SSD

      August 20, 2025
      Recent

      TerraMaster D1 SSD Plus Review: Experience a Faster External SSD

      August 20, 2025

      Microsoft is investigating Windows 11 KB5063878 SSD data corruption/failure issue

      August 20, 2025

      Microsoft Surface Won’t Turn On: 6 Tested Solutions to Fix

      August 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

    Learning Resources

    TerraMaster D1 SSD Plus Review: Experience a Faster External SSD

    August 20, 2025
    Operating Systems

    Microsoft is investigating Windows 11 KB5063878 SSD data corruption/failure issue

    August 20, 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

    CVE-2025-4980 – Netgear DGND3700 HTTP Information Disclosure Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    I can’t believe we’re already getting a sequel to one of the best survival games ever, and I doubly can’t believe how much it’ll cost

    News & Updates

    CVE-2025-43916 – Sonos API Open Redirection and Hardcoded Secret Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-45001 – React Native Keys Information Disclosure

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    CVE-2025-8928 – Code-projects Medical Store Management System SQL Injection Vulnerability

    August 13, 2025

    CVE ID : CVE-2025-8928

    Published : Aug. 13, 2025, 10:15 p.m. | 2 hours, 8 minutes ago

    Description : A vulnerability was identified in code-projects Medical Store Management System 1.0. This affects an unknown part of the file UpdateMedicines.java of the component Update Medicines Page. The manipulation of the argument productNameTxt leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

    Severity: 6.3 | MEDIUM

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

    My favorite personal safety alarm is as loud as a jackhammer, and it just got an upgrade

    August 14, 2025

    Urgent Advantech Alert: Critical Flaws (CVSS 9.6) Expose Industrial Automation to Remote Takeover, PoC Releases

    June 24, 2025

    Stack Overflow: Developers’ trust in AI outputs is worsening year over year

    July 29, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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