Vulnerability
CVE-2006-2502
Vulnerability details
- Score
- 5.1
- Severity
- medium
CVSS 2.0 · NVD
Vector string
AV:N/AC:H/Au:N/C:P/I:P/A:PDescription
Stack-based buffer overflow in pop3d in Cyrus IMAPD (cyrus-imapd) 2.3.2, when the popsubfolders option is enabled, allows remote attackers to execute arbitrary code via a long USER command.
CVE ProgramShowing saved CVE details. Refresh is temporarily unavailable.
Exploit source choices
4 sourcesThis exploit takes advantage of a stack based overflow. Once the stack corruption has occurred it is possible to overwrite a pointer which is later used for a memcpy. This gives us a write anything anywhere condition similar to a format string vulnerability. NOTE: The popsubfolders option is a non-default setting. I chose to overwrite the GOT with my shellcode and return to it. This defeats the VA random patch and possibly other stack protection features. Tested on gentoo-sources Linux 2.6.16. Although Fedora CORE 5 ships with a version containing the vulnerable code, it is not exploitable due to the use of the FORTIFY_SOURCE compiler enhancement.