SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

Vulnerability Note VU#649732

Samba AFS ACL mapping VFS plug-in format string vulnerability

Overview

Samba AFS ACL mapping VFS plug-in contains a format string vulnerability. This vulnerability may allow a remote attacker to execute arbitrary code on a vulnerable system.

I. Description

Samba AFS ACL mapping VFS plug-in fails to properly sanitize user-controlled file names that are used in a format specifier supplied to snprintf(). According to Samba Security Advisory CVE-2007-0454: Format string bug in afsacl.so VFS plug-in:

    This security advisory only impacts Samba servers that share AFS file systems to CIFS clients and which have been explicitly instructed in smb.conf to load the afsacl.so VFS module.

This vulnerability occurred as a result of failing to comply with rule FIO30-C of the CERT C Programming Language Secure Coding Standard.

II. Impact

If an attacker is able to write a file to a share that uses the afsacl.so library, that attacker may be able to execute arbitrary code.

III. Solution

Apply a patch

According to Samba Security Advisory CVE-2007-0454: Format string bug in afsacl.so VFS plug-in:

    A patch against Samba 3.0.23d has been attached to this email. This fix has be incorporated into the Samba 3.0.24 release. Patches are also available from at the Samba Security page (http://www.samba.org/samba/security).

Systems Affected

VendorStatusDate NotifiedDate Updated
SambaVulnerable7-Feb-2007

References

https://www.securecoding.cert.org/confluence/x/WwE
http://samba.org/samba/security/CVE-2007-0454.html
http://us4.samba.org/samba/ftp/patches/security/samba-3.0.23d-CVE-2007-0454.patch
http://news.samba.org/releases/3.0.24/
http://secunia.com/advisories/24021/
http://secunia.com/advisories/24060/
http://secunia.com/advisories/24046/
http://securitytracker.com/alerts/2007/Feb/1017588.html
http://secunia.com/advisories/24145/
http://www.securityfocus.com/bid/22403

Credit

This vulnerability was reported by Gerald Carter.

This document was written by Jeff Gennari based on information from Samba.

Other Information

Date Public:2007-02-05
Date First Published:2007-02-07
Date Last Updated:2007-03-29
CERT Advisory: 
CVE-ID(s):CVE-2007-0454
NVD-ID(s):CVE-2007-0454
US-CERT Technical Alerts: 
Metric:1.82
Document Revision:21

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Produced 2007 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader