up-imapproxy "proxies IMAP transactions between an IMAP client and an IMAP server". A format string vulnerability in up-imapproxy's handling of the response server's banner allows attackers to cause the program to execute arbitrary code.
As you can see ParseBannerAndCapability() function calls vulnerable sprintf() without format string. A correct call would be of the sorts of: sprintf( DestBuf, "%s", CP );
Instead sprintf( DestBuf, CP );
Vulnerability can be used to execute arbitary code on target's machine. Imapproxy incorrectly parse banner from IMAP daemon. Look at below PoC code.
Proof of Concept:
/*
PoC exploit code for up-imapproxy <= 1.2.4
by Darkeagle from ExploiterZ Labs
eagle [ at ] exploiterz [ dot ] org
an exploit binds port (143) and when imapproxy connects to this exploit-server and gets banner, it's child process crashes..