FreeBSD mksnap_ffs Filesystem Flag Clearing Security Issue
Secunia Advisory: SA10756
Release Date: 2004-02-02
Popularity: 7,642 views

Critical:
Less critical
Impact: Security Bypass
Where: Local system
Solution Status: Vendor Patch

OS:FreeBSD 5.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2004-0099


Description:
Kimura Fuyuki and Wiktor Niesiobedzki have discovered a security issue in FreeBSD, which potentially can set insecure permissions on a file system.

An error in the "mksnap_ffs" program may reset flags on a file system to their default setting when a snapshot is created. This could potentially disable various security-related features set by an administrator when a process using the program is run (e.g. a regularly scheduled backup).

The problem affects FreeBSD 5.1-RELEASE and 5.2-RELEASE.

Solution:
Apply patches or install updated version.

FreeBSD 5.1:
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-04:01/mksnap_ffs_5_1.patch
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-04:01/mksnap_ffs_5_1.patch.asc

FreeBSD 5.2:
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-04:01/mksnap_ffs_5_2.patch
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-04:01/mksnap_ffs_5_2.patch.asc


The security issue has been fixed in the following releases:

* 2004-01-27 19:33:16 UTC (RELENG_5_1, 5.1-RELEASE-p12)
* 2004-01-29 22:54:31 UTC (RELENG_5_2, 5.2-RELEASE-p1)

Provided and/or discovered by:
Kimura Fuyuki and Wiktor Niesiobedzki

Original Advisory:
ftp://ftp.FreeBSD.org/pub/FreeBSD/CER...ories/FreeBSD-SA-04:01.mksnap_ffs.asc


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. phpBB "gen_rand_string()" Predictable RNG Weakness // 87 views
2. Adobe Flash Player Multiple Vulnerabilities // 80 views
3. IBM DB2 Multiple Vulnerabilities // 42 views
4. VLC Media Player Multiple Vulnerabilities // 37 views
5. Sun Java JDK / JRE Multiple Vulnerabilities // 37 views
6. Microsoft Office Two Code Execution Vulnerabilities // 37 views
7. Linux Kernel "listxattr" Memory Corruption and CHRP Denial of Service // 32 views
8. X-Spam for SMTP Servers Insecure File Permissions // 29 views
9. Microsoft Word Malformed Object Pointer Vulnerability // 28 views
10. libpng "png_push_read_zTXt()" Off-By-One Vulnerability // 27 views