Overview
Samba contains an integer overflow vulnerability in code that processes file security descriptors. This could allow an authenticated, remote attacker to execute arbitrary code or cause a denial of service on a vulnerable system.
Description
Samba is an open-source implementation of SMB/CIFS file and print services. It is frequently included in UNIX and Linux distributions and is typically used provide file and print services to Windows clients. The Samba daemon, smbd, contains a vulnerability in code that processes file security descriptors. While allocating heap memory to store security descriptors, a 32-bit integer counter may overflow (wrap). This counter is truncated and used by smbd to allocate memory to store security descriptors. Without checking the size of this value, smbd may allocate insufficient memory, resulting in a buffer overflow. Heap memory control structures can be overwritten, corrupting heap memory, and possibly allowing the execution of arbitrary code. More information is available in iDEFENSE Security Advisory 12.16.04. |
Impact
An authenticated, remote attacker could execute arbitrary code or cause a denial of service on a vulnerable system. The smbd daemon typically runs with root privileges. |
Solution
Patch or upgrade |
|
Vendor Information
CVSS Metrics
Group | Score | Vector |
---|---|---|
Base | ||
Temporal | ||
Environmental |
References
- http://www.idefense.com/application/poi/display?id=165
- http://www.samba.org/samba/news/#3.0.10
- http://www.samba.org/samba/security/CAN-2004-1154.html
- http://www.samba.org/samba/ftp/patches/security/samba-3.0.9-CAN-2004-1154.patch.asc
- http://www.samba.org/samba/ftp/patches/security/samba-3.0.9-CAN-2004-1154.patch
- http://www.samba.org/samba/history/security.html
- http://www.samba.org/samba/docs/server_security.html
- http://secunia.com/advisories/13453/
Acknowledgements
This vulnerability was reported by iDEFENSE.
This document was written by Art Manion.
Other Information
CVE IDs: | CVE-2004-1154 |
Severity Metric: | 14.40 |
Date Public: | 2004-12-16 |
Date First Published: | 2004-12-17 |
Date Last Updated: | 2005-01-05 21:20 UTC |
Document Revision: | 27 |