The format string protection mechanism in IMAPD for Perdition Mail Retrieval Proxy 1.17 and earlier allows remote attackers to execute arbitrary code via an IMAP tag with a null byte followed by a format string specifier, which is not counted by the mechanism.
The product uses a function that accepts a format string as an argument, but the format string originates from an external source.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Perdition_mail_retrieval_proxy | Vergenet | * | 1.17 (including) |
Perdition | Ubuntu | dapper | * |
Perdition | Ubuntu | edgy | * |
Perdition | Ubuntu | feisty | * |
Perdition | Ubuntu | gutsy | * |
Perdition | Ubuntu | upstream | * |
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.