[UNIX] Samba 3.x.x Wildcard Characters DoS
From: SecuriTeam (support_at_securiteam.com)
Date: 11/09/04
- Previous message: SecuriTeam: "[NT] XDICT Buffer Overrun Vulnerability"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 9 Nov 2004 18:29:06 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
Samba 3.x.x Wildcard Characters DoS
------------------------------------------------------------------------
SUMMARY
A remote attacker could cause and smbd process to consume abnormal amounts
of system resources due to an input validation error when matching
filenames containing wildcard characters.
DETAILS
Vulnerable Systems:
* Samba versions 3.0.x up to 3.0.7
A bug in the input validation routines used to match filename strings
containing wildcard characters may allow a user to consume more than
normal amounts of CPU cycles thus impacting the performance and response
of the server. In some circumstances the server can become entirely
unresponsive.
Protecting Unpatched Servers:
The Samba Team always encourages users to run the latest stable release as
a defense of against attacks. However, under certain circumstances it may
not be possible to immediately upgrade important installations. In such
cases, administrators should
read the "Server Security" documentation found at
<http://www.samba.org/samba/docs/server_security.html>
http://www.samba.org/samba/docs/server_security.html.
Workaround:
Restricting access to the server by using the "hosts allow" setting in
smb.conf and/or applying firewall rules may help mitigate this
vulnerability.
Patch Availability:
A patch for Samba 3.0.7 (samba-3.0.7-CAN-2004-0930.patch) is available
from <http://www.samba.org/samba/ftp/patches/security/>
http://www.samba.org/samba/ftp/patches/security/. The patch has been
signed with the "Samba Distribution Verification Key" (ID F17F9772).
Disclosure Timeline:
09/29/2004 iDEFENSE clients notified
09/29/2004 Initial vendor notification
09/30/2004 Initial vendor response
11/08/2004 Coordinated public disclosure
Technical Details:
The problem specifically exists within the ms_fnmatch() routine which upon
parsing '*' characters within a pattern will fall into an exponentially
growing loop. The responsible section of vulnerable code appears here:
case '*':
for (; *n; n++) {
if (ms_fnmatch(p, n) == 0) return 0;
}
break;
An authenticated remote attacker can cause a resource exhaustion attack by
sending multiple malformed commands to an affected server. A request as
simple as 'dir ***********************************************z' can
trigger this condition leading to 100% CPU usage.
ADDITIONAL INFORMATION
The information has been provided by Karol Wiesek.
The original article can be found at:
<http://www.idefense.com/application/poi/display?id=156&type=vulnerabilities> http://www.idefense.com/application/poi/display?id=156&type=vulnerabilities
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: SecuriTeam: "[NT] XDICT Buffer Overrun Vulnerability"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- [NT] Multiple Vulnerabilities in HP Web JetAdmin (Read, Write, Execute, Path Disclosure, Password De
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... HP Web JetAdmin is an enterprise
management system for large amounts of HP ... The web server is a modular service ...
HP Web JetAdmin uses it's own encryption. ... (Securiteam) - [NEWS] Multiple Vulnerabilities in Oracle Database (Character Conversion, Extproc, Password Disclosu
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Multiple vulnerabilities were
discovered in the (Oracle database server ... password is required to exploit this vulnerability.
... (Securiteam) - [NEWS] ColdFusion MX Oversize Error Message DoS
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... ColdFusion MX "is the solution
for building and deploying powerful web ... shoots up and stays there until the server
completes writing the error ... a long string of data as a GET or POST request to ...
(Securiteam) - [NT] F-Secure Internet Gatekeeper Content Scanning Server DoS
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... " <http://www.f-secure.com/products/anti-virus/fsigk/>
F-Secure Internet ... the Content Scanner Server. ... The vendor has been
contacted and confirmed the existence of the problem ... (Securiteam) - [NEWS] TCLHttpd Contains Two Vulnerabilities (Directory Browsing, XSS)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... general-purpose Web server,
and as a framework for building server ... Instructions for setting up the TclHttpd on
your ... server context (Cross Site Scripting). ... (Securiteam)