[VulnWatch] Linux ISO9660 handling flaws

From: Michal Zalewski (lcamtuf_at_dione.ids.pl)
Date: 03/17/05

  • Next message: NGSSoftware Insight Security Research: "[VulnWatch] Details of Sybase ASE bugs withheld"
    Date: Thu, 17 Mar 2005 22:36:45 +0100 (CET)
    To: bugtraq@securityfocus.com, vulnwatch@vulnwatch.org
    
    
    

    Good morning,

    There appears to be a fair number of kernel-level range checking flaws in
    ISO9660 filesystem handler (and Rock Ridge / Juliet extensions) in Linux
    up to and including 2.6.11. These bugs range from DoS conditions to
    potentially exploitable memory corruption - all this whenever a specially
    crafted filesystem is mounted or directories are examined.

    Most apparent flaws are expected to be fixed in Linux 2.6.12 (rc to show
    up by tomorrow or so), although, as per Linus words, "that code is
    horrid", and it may take some time to work out all the issues.

    The impact is not dramatic, but there are two obvious ways such flaws can
    be used to benefit remote attackers:

      1) Bugs in removable media filesystems may be used to automatically
         compromise any system whose owner decided to examine a newly acquired
         CD-ROM, even if extreme caution is observed (that is, autorun is
         disabled, and no files are executed).

      2) For all types of filesystems, such problems can be additionally used
         to subvert forensic analysis efforts. Disk images from compromised
         machine may infect forensic examiner's system and alter results,
         or simply render the machine unusable.

    Attached is a trivial fuzz script that can be used to test fs drivers
    against most obvious fault conditions. With little effort, it can be
    further altered to test filesystems other than ISO9660, and OSes other
    than Linux.

    Regards,
    Michal Zalewski

    Obligatory plug: http://lcamtuf.coredump.cx/silence/

    
    



  • Next message: NGSSoftware Insight Security Research: "[VulnWatch] Details of Sybase ASE bugs withheld"

    Relevant Pages

    • Re: Linux ISO9660 handling flaws
      ... > There appears to be a fair number of kernel-level range checking flaws in ... > The impact is not dramatic, but there are two obvious ways such flaws can ... > 2) For all types of filesystems, such problems can be additionally used ... > to subvert forensic analysis efforts. ...
      (Bugtraq)
    • Linux ISO9660 handling flaws
      ... There appears to be a fair number of kernel-level range checking flaws in ... ISO9660 filesystem handler in Linux ... Most apparent flaws are expected to be fixed in Linux 2.6.12 (rc to show ... For all types of filesystems, such problems can be additionally used ...
      (Bugtraq)
    • Re: [OpenAFS-devel] Re: AFS ... or equivalent ...
      ... have to worry about stable interfaces" approach is really poor. ... The Linux Kernel presents a very strong counter-argument-by-example. ... portion were VFS changes which touched most filesystems. ...
      (freebsd-questions)
    • Re: Opinions on new PDA please
      ... its data in FAT or NTFS filesystems, ... Linux' EXT2 and EXT3 ... As it's open source in theory it may be possible to code in ... who discover the CLI for the first time, although a lot of distros wrap ...
      (uk.comp.sys.palmtops)
    • Re: External Hard Drives and UBUNTU
      ... BS> system...ext3 so it carries UID/GUID and permissions. ... Slow & crummy as it is, FAT32 is also advisable even between Linux boxes ... UID/GUID support in ext3. ... limitations of the filesystems files are hosted on...OS X has "issues" ...
      (Ubuntu)