Remote exploitation of an input validation error in Samba could allow an
attacker to consume system resources and potentially cause the target system to crash.
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:
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.
-----------------------------------------------
ANALYSIS
Successful exploitation allows authenticated remote attackers to exhaust
CPU resources. This attack takes very little bandwidth and can, in some cases, cause the machine to stop responding. Multiple attacks can be launched in parallel which can make this attack more effective.
attacker to consume system resources and potentially cause the target system to crash.
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;
-----------------------------------------------
ANALYSIS
Successful exploitation allows authenticated remote attackers to exhaust
CPU resources. This attack takes very little bandwidth and can, in some cases, cause the machine to stop responding. Multiple attacks can be launched in parallel which can make this attack more effective.
Comment