SBLIM-SFCB Multiple Buffer Overflows

This script is Copyright (C) 2010-2011 Tenable Network Security, Inc.


Synopsis :

The application is affected by multiple buffer overflow
vulnerabilities.

Description :

The web server component of SBLIM-SFCB that is listening on the
remote host contains multiple heap-based buffer overflows that can be
triggered by sending an HTTP request with a specially crafted
Content-Length header. Specifically :

- There is a particular scenario where heap corruption can
exist if httpMaxContentLength in sfcb.cfg is set to 0
and the Content-Length of a request is 4294967290,
getPayload() will try to memcpy() into an incorrectly
sized buffer due to wrap around (we add 8 to
Content-Length in the malloc). Also, sfcb.cfg states
that the default value for httpMaxContentLength _is_ 0,
which is untrue.

- httpAdapter contains a heap overflow that is caused by an
HTTP request with the Content-Length value being smaller
than the actual size of the payload. The affect of this bug
can cause the handling HTTP process to crash. If the
request is specially crafted, arbitrary code execution
could occur.

Successful exploit of these vulnerabilities may result in a server
crash or execution of arbitrary code in the context of the server.

See also :

http://www.nessus.org/u?149a07e1
http://www.nessus.org/u?8729b62f

Solution :

Upgrade to version 1.3.8

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 7.4
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Web Servers

Nessus Plugin ID: 46802 ()

Bugtraq ID: 40475

CVE ID: CVE-2010-1937
CVE-2010-2054