ID CVE-2015-1572
Summary Heap-based buffer overflow in closefs.c in the libext2fs library in e2fsprogs before 1.42.12 allows local users to execute arbitrary code by causing a crafted block group descriptor to be marked as dirty. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-0247.
References
Vulnerable Configurations
  • e2fsprogs project e2fsprogs 1.42.11
    cpe:2.3:a:e2fsprogs_project:e2fsprogs:1.42.11
  • Debian Linux 7.0
    cpe:2.3:o:debian:debian_linux:7.0
  • Canonical Ubuntu Linux 10.04 LTS
    cpe:2.3:o:canonical:ubuntu_linux:10.04:-:-:-:lts
  • Canonical Ubuntu Linux 12.04 LTS
    cpe:2.3:o:canonical:ubuntu_linux:12.04:-:-:-:lts
  • Canonical Ubuntu Linux 14.04 LTS (Long-Term Support)
    cpe:2.3:o:canonical:ubuntu_linux:14.04:-:-:-:lts
  • Canonical Ubuntu Linux 14.10
    cpe:2.3:o:canonical:ubuntu_linux:14.10
CVSS
Base: 4.6 (as of 27-02-2015 - 13:45)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2015-2511.NASL
    description - Fix potential buffer overflow in closefs (#1193947, CVE-2015-1572) - Fix dumpe2fs segfault with no arguments (#1194063) - Don't require fsck prior to resize2fs -P (#1170803) Changes e2fsck.conf so that for filesystems with time-based check intervals set in the superblock, these time-based checks will work again. You may need to wait through an e2fsck on your next reboot in this case. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-09-01
    modified 2015-10-19
    plugin id 81613
    published 2015-03-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=81613
    title Fedora 21 : e2fsprogs-1.42.12-3.fc21 (2015-2511)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2015-067.NASL
    description Updated e2fsprogs packages fix security vulnerabilities : The libext2fs library, part of e2fsprogs and utilized by its utilities, is affected by a boundary check error on block group descriptor information, leading to a heap based buffer overflow. A specially crafted filesystem image can be used to trigger the vulnerability (CVE-2015-0247). The libext2fs library, part of e2fsprogs and utilized by its utilities, is affected by a boundary check error on block group descriptor information, leading to a heap based buffer overflow. A specially crafted filesystem image can be used to trigger the vulnerability. This is due to an incomplete fix for CVE-2015-0247 (CVE-2015-1572).
    last seen 2018-09-01
    modified 2018-07-19
    plugin id 82320
    published 2015-03-30
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=82320
    title Mandriva Linux Security Advisory : e2fsprogs (MDVSA-2015:067)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2015-399.NASL
    description e2fsprogs was updated to fix one security issue. The following vulnerability was fixed : - CVE-2015-1572: A local user could have executed arbitrary code by causing a crafted block group descriptor to be marked as dirty. (boo#918346)
    last seen 2018-09-02
    modified 2015-06-08
    plugin id 84012
    published 2015-06-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=84012
    title openSUSE Security Update : e2fsprogs (openSUSE-2015-399)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2015-2516.NASL
    description - Fix potential buffer overflow in closefs (#1193947, CVE-2015-1572) - Fix dumpe2fs segfault with no arguments (#1194063) - Don't require fsck prior to resize2fs -P (#1170803) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-09-01
    modified 2015-10-19
    plugin id 81614
    published 2015-03-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=81614
    title Fedora 20 : e2fsprogs-1.42.12-3.fc20 (2015-2516)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-3166.NASL
    description Jose Duart of the Google Security Team discovered a buffer overflow in e2fsprogs, a set of utilities for the ext2, ext3, and ext4 file systems. This issue can possibly lead to arbitrary code execution if a malicious device is plugged in, the system is configured to automatically mount it, and the mounting process chooses to run fsck on the device's malicious filesystem. - CVE-2015-0247 Buffer overflow in the ext2/ext3/ext4 file system open/close routines. - CVE-2015-1572 Incomplete fix for CVE-2015-0247.
    last seen 2018-09-01
    modified 2015-02-24
    plugin id 81446
    published 2015-02-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=81446
    title Debian DSA-3166-1 : e2fsprogs - security update
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2015-400.NASL
    description e2fsprogs was updated to fix two security issues. The following vulnerabilities were fixed : - CVE-2015-1572: A local user could have executed arbitrary code by causing a crafted block group descriptor to be marked as dirty. Completes fix for CVE-2015-0247. (boo#918346) - CVE-2015-0247: A local user could have executed arbitrary code via crafted block group descriptor data in a filesystem image. (boo#915402)
    last seen 2018-09-01
    modified 2015-06-08
    plugin id 84013
    published 2015-06-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=84013
    title openSUSE Security Update : e2fsprogs (openSUSE-2015-400)
  • NASL family Huawei Local Security Checks
    NASL id EULEROS_SA-2016-1038.NASL
    description According to the versions of the e2fsprogs packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - The e2fsprogs package contains a number of utilities for creating, checking, modifying, and correcting any inconsistencies in second, third and fourth extended (ext2/ext3/ext4) filesystems. E2fsprogs contains e2fsck (used to repair filesystem inconsistencies after an unclean shutdown), mke2fs (used to initialize a partition to contain an empty ext2 filesystem), debugfs (used to examine the internal structure of a filesystem, to manually repair a corrupted filesystem, or to create test cases for e2fsck), tune2fs (used to modify filesystem parameters), and most of the other core ext2fs filesystem utilities. - You should install the e2fsprogs package if you need to manage the performance of an ext2, ext3, or ext4 filesystem. - Security Fix(es) - Heap-based buffer overflow in closefs.c in the libext2fs library in e2fsprogs before 1.42.12 allows local users to execute arbitrary code by causing a crafted block group descriptor to be marked as dirty. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-0247.(CVE-2015-1572) - Heap-based buffer overflow in openfs.c in the libext2fs library in e2fsprogs before 1.42.12 allows local users to execute arbitrary code via crafted block group descriptor data in a filesystem image.(CVE-2015-0247) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-09-01
    modified 2018-08-10
    plugin id 99801
    published 2017-05-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=99801
    title EulerOS 2.0 SP1 : e2fsprogs (EulerOS-SA-2016-1038)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2015-068.NASL
    description Updated e2fsprogs packages fix security vulnerability : The libext2fs library, part of e2fsprogs and utilized by its utilities, is affected by a boundary check error on block group descriptor information, leading to a heap based buffer overflow. A specially crafted filesystem image can be used to trigger the vulnerability. This is due to an incomplete fix for CVE-2015-0247 (CVE-2015-1572).
    last seen 2018-09-01
    modified 2018-07-19
    plugin id 82321
    published 2015-03-30
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=82321
    title Mandriva Linux Security Advisory : e2fsprogs (MDVSA-2015:068)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2015-1341-1.NASL
    description Two security issues were fixed in e2fsprogs : Security issues fixed : - CVE-2015-0247: Various heap overflows were fixed in e2fsprogs (fsck, dumpe2fs, e2image...). - CVE-2015-1572: Fixed a potential buffer overflow in closefs() (bsc#918346 ) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-09-01
    modified 2018-07-31
    plugin id 85239
    published 2015-08-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85239
    title SUSE SLED12 / SLES12 Security Update : e2fsprogs (SUSE-SU-2015:1341-1)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_2A4BCD7DBBB811E4903C080027EF73EC.NASL
    description Theodore Ts'o reports : On a carefully crafted filesystem that gets modified through tune2fs or debugfs, it is possible to trigger a buffer overrun when the file system is closed via closefs().
    last seen 2018-09-01
    modified 2015-02-26
    plugin id 81461
    published 2015-02-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=81461
    title FreeBSD : e2fsprogs -- potential buffer overflow in closefs() (2a4bcd7d-bbb8-11e4-903c-080027ef73ec)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-2507-1.NASL
    description Jose Duart discovered that e2fsprogs incorrectly handled invalid block group descriptor data. A local attacker could use this issue with a crafted filesystem image to possibly execute arbitrary code. (CVE-2015-0247, CVE-2015-1572). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-09-02
    modified 2018-08-03
    plugin id 81482
    published 2015-02-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=81482
    title Ubuntu 10.04 LTS / 12.04 LTS / 14.04 LTS / 14.10 : e2fsprogs vulnerabilities (USN-2507-1)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201507-22.NASL
    description The remote host is affected by the vulnerability described in GLSA-201507-22 (e2fsprogs: Arbitrary code execution) e2fsprogs has a heap-based buffer overflow in closefs.c in the libext2fs library. Impact : A local attacker could execute arbitrary code via a specially crafted block group descriptor. Workaround : There is no known workaround at this time.
    last seen 2018-09-01
    modified 2015-07-24
    plugin id 84974
    published 2015-07-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=84974
    title GLSA-201507-22 : e2fsprogs: Arbitrary code execution
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2015-1364-1.NASL
    description Two security issues were fixed in e2fsprogs : CVE-2015-0247: Various heap overflows were fixed in e2fsprogs (fsck, dumpe2fs, e2image). CVE-2015-1572: Fixed a potential buffer overflow in closefs(). (bsc#918346) Additionally, badblocks was enhanced to work with very large partitions. (bsc#932539) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-09-01
    modified 2018-07-31
    plugin id 85375
    published 2015-08-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85375
    title SUSE SLED11 / SLES11 Security Update : e2fsprogs (SUSE-SU-2015:1364-1)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2018-771.NASL
    description This update for e2fsprogs fixes the following issues : Security issues fixed : - CVE-2015-0247: Fixed couple of heap overflows in e2fsprogs (fsck, dumpe2fs, e2image...) (bsc#915402). - CVE-2015-1572: Fixed potential buffer overflow in closefs() (bsc#918346). Bug fixes : - bsc#1038194: generic/405 test fails with /dev/mapper/thin-vol is inconsistent on ext4 file system. - bsc#1009532: resize2fs hangs when trying to resize a large ext4 file system. - bsc#960273: xfsprogs does not call %{?regenerate_initrd_post}. This update was imported from the SUSE:SLE-15:Update update project.
    last seen 2018-09-01
    modified 2018-07-30
    plugin id 111423
    published 2018-07-30
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=111423
    title openSUSE Security Update : e2fsprogs (openSUSE-2018-771)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2015-1103-1.NASL
    description This update provides the following security-fixes for e2fsprogs : libext2fs: fix potential buffer overflow in closefs() (bsc#918346, CVE-2015-1572) libext2fs: avoid buffer overflow if s_first_meta_bg is too big (bsc#915402, CVE-2015-0247) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-09-01
    modified 2018-07-31
    plugin id 84395
    published 2015-06-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=84395
    title SUSE SLED11 / SLES11 Security Update : e2fsprogs (SUSE-SU-2015:1103-1)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DLA-162.NASL
    description Jose Duart of the Google Security Team discovered a buffer overflow in in e2fsprogs, a set of utilities for the ext2, ext3, and ext4 file systems. This issue can possibly lead to arbitrary code execution if a malicious device is plugged in, the system is configured to automatically mount it, and the mounting process chooses to run fsck on the device's malicious filesystem. CVE-2015-1572 Incomplete fix for CVE-2015-0247. NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-09-01
    modified 2018-07-06
    plugin id 82146
    published 2015-03-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=82146
    title Debian DLA-162-1 : e2fsprogs security update
refmap via4
bid 72709
confirm
debian DSA-3166
fedora
  • FEDORA-2015-2511
  • FEDORA-2015-2516
gentoo GLSA-201507-22
mandriva
  • MDVSA-2015:067
  • MDVSA-2015:068
suse
  • SUSE-SU-2015:1103
  • openSUSE-SU-2015:1002
  • openSUSE-SU-2015:1006
ubuntu USN-2507-1
Last major update 30-12-2016 - 21:59
Published 24-02-2015 - 10:59
Last modified 07-11-2017 - 21:29
Back to Top