SBLIM-SFCB Multiple Buffer Overflows
Critical Nessus Plugin ID 46802
SynopsisThe application is affected by multiple buffer overflow vulnerabilities.
DescriptionThe 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.
SolutionUpgrade to version 1.3.8