7.5
CWE
119
Advisory Published
CVE Published
CVE Published
Updated

CVE-2011-3208: Buffer Overflow

First published: Wed Aug 31 2011(Updated: )

A remotely exploitable buffer overflow flaw was found in Cyrus' nntpd. A malicious NNTP client would be able to exploit this to execute arbitrary code on a vulnerable nntpd server. If the 'allowanonymouslogin' option was set in imapd.conf, it could be done without authentication. When compiled with FORTIFY_SOURCE (the default on Red Hat Enterprise Linux 5 and 6, as well as Fedora), this flaw is not exploitable and will result in a crash of the nntpd service. The following patch will correct the flaw: diff --git a/imap/nntpd.c b/imap/nntpd.c index 56405d3..6b30174 100644 --- a/imap/nntpd.c +++ b/imap/nntpd.c @@ -4131,7 +4131,8 @@ static struct wildmat *split_wildmats(char *str) else if (*c == '@') wild[n].not = -1; /* absolute not (feeding) */ else wild[n].not = 0; - strcpy(p, wild[n].not ? c + 1 : c); + strncpy(p, wild[n].not ? c + 1 : c, pattern+sizeof(pattern) - p); + pattern[sizeof(pattern)-1] = '\0'; wild[n++].pat = xstrdup(pattern); } while (c != str); wild[n].pat = NULL;

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/cyrus-imapd<0:2.2.12-16.el4
0:2.2.12-16.el4
redhat/cyrus-imapd<0:2.3.7-12.el5_7.1
0:2.3.7-12.el5_7.1
redhat/cyrus-imapd<0:2.3.16-6.el6_1.3
0:2.3.16-6.el6_1.3
redhat/cyrus-imapd<2.4.11
2.4.11
Cyrus IMAP Server<=2.3.16
Cyrus IMAP Server=2.0.17
Cyrus IMAP Server=2.1.16
Cyrus IMAP Server=2.1.17
Cyrus IMAP Server=2.1.18
Cyrus IMAP Server=2.2.8
Cyrus IMAP Server=2.2.9
Cyrus IMAP Server=2.2.10
Cyrus IMAP Server=2.2.11
Cyrus IMAP Server=2.2.12
Cyrus IMAP Server=2.2.13
Cyrus IMAP Server=2.2.13p1
Cyrus IMAP Server=2.2.14
Cyrus IMAP Server=2.3.0
Cyrus IMAP Server=2.3.1
Cyrus IMAP Server=2.3.2
Cyrus IMAP Server=2.3.3
Cyrus IMAP Server=2.3.4
Cyrus IMAP Server=2.3.5
Cyrus IMAP Server=2.3.6
Cyrus IMAP Server=2.3.7
Cyrus IMAP Server=2.3.8
Cyrus IMAP Server=2.3.9
Cyrus IMAP Server=2.3.10
Cyrus IMAP Server=2.3.11
Cyrus IMAP Server=2.3.12
Cyrus IMAP Server=2.3.13
Cyrus IMAP Server=2.3.14
Cyrus IMAP Server=2.3.15
Cyrus IMAP Server=2.4.0
Cyrus IMAP Server=2.4.1
Cyrus IMAP Server=2.4.2
Cyrus IMAP Server=2.4.3
Cyrus IMAP Server=2.4.4
Cyrus IMAP Server=2.4.5
Cyrus IMAP Server=2.4.6
Cyrus IMAP Server=2.4.7
Cyrus IMAP Server=2.4.8
Cyrus IMAP Server=2.4.9
Cyrus IMAP Server=2.4.10

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2011-3208?

    CVE-2011-3208 is considered a high severity vulnerability due to its potential for remote exploitation and arbitrary code execution.

  • How do I fix CVE-2011-3208?

    To fix CVE-2011-3208, update your Cyrus IMAP server to version 2.4.11 or apply the appropriate patch for affected versions.

  • Which versions of Cyrus IMAP are affected by CVE-2011-3208?

    CVE-2011-3208 affects Cyrus IMAP versions up to and including 2.3.16, with specific older versions being particularly vulnerable.

  • Can CVE-2011-3208 be exploited without authentication?

    Yes, if the 'allowanonymouslogin' option is enabled, a malicious client can exploit CVE-2011-3208 without authentication.

  • What types of systems are vulnerable to CVE-2011-3208?

    Systems running vulnerable versions of the Cyrus IMAP server, particularly those configured to allow anonymous logins, are at risk for CVE-2011-3208.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203