CVE Vulnerabilities

CVE-2008-7160

Use of Externally-Controlled Format String

Published: Sep 10, 2009 | Modified: Oct 23, 2012
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
5.8 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

The silc_http_server_parse function in lib/silchttp/silchttpserver.c in the internal HTTP server in silcd in Secure Internet Live Conferencing (SILC) Toolkit before 1.1.9 allows remote attackers to overwrite a stack location and possibly execute arbitrary code via a crafted Content-Length header, related to incorrect use of a %lu format string.

Weakness

The product uses a function that accepts a format string as an argument, but the format string originates from an external source.

Affected Software

Name Vendor Start Version End Version
Silc_toolkit Silcnet 1.1.3 1.1.3
Silc_toolkit Silcnet 1.1.5 1.1.5
Silc_toolkit Silcnet 1.1 1.1
Silc_toolkit Silcnet 1.1.1 1.1.1
Silc_toolkit Silcnet 1.1.6 1.1.6
Silc_toolkit Silcnet 1.1.4 1.1.4
Silc_toolkit Silcnet 1.1.2 1.1.2
Silc_toolkit Silcnet * 1.1.8

Extended Description

When an attacker can modify an externally-controlled format string, this can lead to buffer overflows, denial of service, or data representation problems. It should be noted that in some circumstances, such as internationalization, the set of format strings is externally controlled by design. If the source of these format strings is trusted (e.g. only contained in library files that are only modifiable by the system administrator), then the external control might not itself pose a vulnerability.

Potential Mitigations

References