Vulnerabilities > CVE-2010-2494 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Bogofilter
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Multiple buffer underflows in the base64 decoder in base64.c in (1) bogofilter and (2) bogolexer in bogofilter before 1.2.2 allow remote attackers to cause a denial of service (heap memory corruption and application crash) via an e-mail message with invalid base64 data that begins with an = (equals) character.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family SuSE Local Security Checks NASL id SUSE_11_1_BOGOFILTER-100708.NASL description This update of bogofilter/bogolexer fixes a heap based buffer underflow vulnerability which could be exploited to cause a denial of service or potentially execute arbitrary code (CVE-2010-2494). last seen 2020-06-01 modified 2020-06-02 plugin id 47852 published 2010-07-27 reporter This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/47852 title openSUSE Security Update : bogofilter (openSUSE-SU-2010:0439-1) NASL family FreeBSD Local Security Checks NASL id FREEBSD_PKG_25ED4FF8894011DFA3390026189BACA3.NASL description Julius Plenz reports : I found a bug in the base64_decode function which may cause memory corruption when the function is executed on a malformed base64 encoded string. If a string starting with an equal-sign is passed to the base64_decode function it triggers a memory corruption that in some cases makes bogofilter crash. last seen 2020-06-01 modified 2020-06-02 plugin id 47616 published 2010-07-07 reporter This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/47616 title FreeBSD : bogofilter -- heap underrun on malformed base64 input (25ed4ff8-8940-11df-a339-0026189baca3) NASL family SuSE Local Security Checks NASL id SUSE_11_BOGOFILTER-100708.NASL description This update of bogofilter/bogolexer fixes a heap-based buffer underflow vulnerability which could be exploited to cause a denial of service or potentially execute arbitrary code. (CVE-2010-2494) last seen 2020-06-01 modified 2020-06-02 plugin id 50891 published 2010-12-02 reporter This script is Copyright (C) 2010-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/50891 title SuSE 11 / 11.1 Security Update : bogofilter (SAT Patch Numbers 2665 / 2666) NASL family Fedora Local Security Checks NASL id FEDORA_2010-13139.NASL description Fixes CVE-2010-2494 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 48931 published 2010-08-31 reporter This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/48931 title Fedora 13 : bogofilter-1.2.2-1.fc13 (2010-13139) NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-980-1.NASL description Julius Plenz discovered that bogofilter incorrectly handled certain malformed encodings. By sending a specially crafted email, a remote attacker could exploit this and cause bogofilter to crash, resulting in a denial of service. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 49065 published 2010-09-01 reporter Ubuntu Security Notice (C) 2010-2019 Canonical, Inc. / NASL script (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/49065 title Ubuntu 8.04 LTS / 9.04 / 9.10 / 10.04 LTS : bogofilter vulnerability (USN-980-1) NASL family SuSE Local Security Checks NASL id SUSE_11_2_BOGOFILTER-100708.NASL description This update of bogofilter/bogolexer fixes a heap based buffer underflow vulnerability which could be exploited to cause a denial of service or potentially execute arbitrary code (CVE-2010-2494). last seen 2020-06-01 modified 2020-06-02 plugin id 47853 published 2010-07-27 reporter This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/47853 title openSUSE Security Update : bogofilter (openSUSE-SU-2010:0439-1) NASL family SuSE Local Security Checks NASL id OPENSUSE-2012-852.NASL description This version upgrade of bogofilter fixed a heap corruption in the base 64 decoding routine as well as several other non-security issues. last seen 2020-06-05 modified 2014-06-13 plugin id 74844 published 2014-06-13 reporter This script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/74844 title openSUSE Security Update : bogofilter (openSUSE-SU-2012:1650-1) NASL family Fedora Local Security Checks NASL id FEDORA_2010-12959.NASL description Fixes CVE-2010-2494 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 48747 published 2010-08-26 reporter This script is Copyright (C) 2010-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/48747 title Fedora 14 : bogofilter-1.2.2-1.fc14 (2010-12959) NASL family Fedora Local Security Checks NASL id FEDORA_2010-13154.NASL description Fixes CVE-2010-2494 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 48932 published 2010-08-31 reporter This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/48932 title Fedora 12 : bogofilter-1.2.2-1.fc12 (2010-13154) NASL family SuSE Local Security Checks NASL id OPENSUSE-2012-851.NASL description This version upgrade of bogofilter fixed a heap corruption in the base 64 decoding routine as well as several other non-security issues. last seen 2020-06-05 modified 2014-06-13 plugin id 74843 published 2014-06-13 reporter This script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/74843 title openSUSE Security Update : bogofilter (openSUSE-SU-2012:1648-1)
References
- http://bogofilter.sourceforge.net/security/bogofilter-SA-2010-01
- http://bogofilter.sourceforge.net/security/bogofilter-SA-2010-01
- http://bogofilter.svn.sourceforge.net/viewvc/bogofilter/trunk/bogofilter/doc/bogofilter-SA-2010-01?revision=6909&pathrev=6909
- http://bogofilter.svn.sourceforge.net/viewvc/bogofilter/trunk/bogofilter/doc/bogofilter-SA-2010-01?revision=6909&pathrev=6909
- http://bogofilter.svn.sourceforge.net/viewvc/bogofilter/trunk/bogofilter/src/base64.c?view=patch&r1=6906&r2=6903
- http://bogofilter.svn.sourceforge.net/viewvc/bogofilter/trunk/bogofilter/src/base64.c?view=patch&r1=6906&r2=6903
- http://lists.fedoraproject.org/pipermail/package-announce/2010-August/046558.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-August/046558.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-August/046590.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-August/046590.html
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00015.html
- http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00015.html
- http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00016.html
- http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00016.html
- http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00021.html
- http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00021.html
- http://marc.info/?l=oss-security&m=127814747231102&w=2
- http://marc.info/?l=oss-security&m=127814747231102&w=2
- http://marc.info/?l=oss-security&m=127831760712436&w=2
- http://marc.info/?l=oss-security&m=127831760712436&w=2
- http://marc.info/?l=oss-security&m=127840569013531&w=2
- http://marc.info/?l=oss-security&m=127840569013531&w=2
- http://marc.info/?l=oss-security&m=127844323105405&w=2
- http://marc.info/?l=oss-security&m=127844323105405&w=2
- http://secunia.com/advisories/40427
- http://secunia.com/advisories/40427
- http://secunia.com/advisories/41239
- http://secunia.com/advisories/41239
- http://www.osvdb.org/66002
- http://www.osvdb.org/66002
- http://www.securityfocus.com/bid/41339
- http://www.securityfocus.com/bid/41339
- http://www.ubuntu.com/usn/USN-980-1
- http://www.ubuntu.com/usn/USN-980-1
- http://www.vupen.com/english/advisories/2010/2233
- http://www.vupen.com/english/advisories/2010/2233
- https://bugzilla.redhat.com/show_bug.cgi?id=611551
- https://bugzilla.redhat.com/show_bug.cgi?id=611551