CVE Vulnerabilities

CVE-2005-1122

Use of Externally-Controlled Format String

Published: Apr 14, 2005 | Modified: Mar 26, 2020
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

Format string vulnerability in cgi.c for Monkey daemon (monkeyd) before 0.9.1 allows remote attackers to cause a denial of service and possibly execute arbitrary code via an HTTP GET request containing double-encoded format string specifiers (aka double expansion error).

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
Monkey Monkey-project * 0.9.0 (including)
Monkey Monkey-project 0.1.1 (including) 0.1.1 (including)
Monkey Monkey-project 0.5.2 (including) 0.5.2 (including)
Monkey Monkey-project 0.6.0 (including) 0.6.0 (including)
Monkey Monkey-project 0.6.1 (including) 0.6.1 (including)
Monkey Monkey-project 0.6.2 (including) 0.6.2 (including)
Monkey Monkey-project 0.6.3 (including) 0.6.3 (including)
Monkey Monkey-project 0.7.0 (including) 0.7.0 (including)
Monkey Monkey-project 0.7.1 (including) 0.7.1 (including)
Monkey Monkey-project 0.7.2 (including) 0.7.2 (including)
Monkey Monkey-project 0.8.0 (including) 0.8.0 (including)
Monkey Monkey-project 0.8.1 (including) 0.8.1 (including)
Monkey Monkey-project 0.8.2 (including) 0.8.2 (including)
Monkey Monkey-project 0.8.3 (including) 0.8.3 (including)
Monkey Monkey-project 0.8.4 (including) 0.8.4 (including)
Monkey Monkey-project 0.8.4-2 (including) 0.8.4-2 (including)
Monkey Monkey-project 0.8.5 (including) 0.8.5 (including)

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