LWN.net Logo

Security

A kernel security hole

By Jake Edge
January 16, 2008

Security holes can sneak into code in surprising ways, even in highly scrutinized codebases. Perhaps even more surprising is how long they can persist in something as popular as the Linux kernel before someone notices. The release of stable kernels 2.6.22.16 and 2.6.23.14 this week are instructive for both of those reasons.

The bug that led to the releases is fixed by a two line patch, but might be exploitable to cause filesystem corruption. If it were a bug in a driver for an obscure piece of hardware, with relatively few users, it might have been less eye opening, but it was in the Virtual File System (VFS) layer of the kernel. VFS is the abstraction that allows all kernel filesystems to be used identically regardless of their underlying implementation. The open() system call is used to open any file on any type of filesystem; VFS is what makes that work.

In fact it is the open() path that is affected by the bug. Due to a faulty test, the bug allows directories to be opened for writing, which is generally a recipe for disaster. It could also allow a file on a read-only filesystem to be opened for writing – depending on the underlying filesystem implementation, that could lead to corruption. In both cases, they are only locally exploitable.

The bug was introduced in a change to support NFS in October of 2005 – more than two years ago; all kernels since 2.6.15 are affected. The change was aimed at making NFSv4 open calls be atomic (because an open is really a lookup followed by an open), but also did some code reorganization that changed the semantics of a flag variable. That variable was being used to determine the access mode for directories and read-only filesystems, so that change subtly broke the tests.

Part of the problem is that the tests are in a function called may_open(), which takes two flag parameters:

    int may_open(struct nameidata *nd, int acc_mode, int flag)
The incorrect code was using flag in the tests when it should have been using acc_mode. Each of them is a bitmask of values that, on first glance, might be easy to confuse – each is related to permissions. The bit values for each have names like FMODE_WRITE and MAY_WRITE, which would seem to have a fair amount of overlap. This may explain why the problem was not spotted at the time it was introduced.

There may be no easy solution to this kind of problem – other than more scrutiny. Using different types, rather than plain int, for each flag might have helped, but since the tests were using the right kind of bit values for flag, that is a somewhat hard sell.

Something unpleasant to consider in all of this is that this may not be the first time this problem has been noticed. It may just have been the first time it was noticed by someone who reported it. Folks with a malicious intent are much less inclined to report bugs. This particular bug is not one that would be particularly useful to attackers, but we would do well to remember that fixing a two year old hole means that systems were vulnerable for all that time. It is not only the good guys who can read code.

Comments (26 posted)

New vulnerabilities

apache: several vulnerabilities

Package(s):apache CVE #(s):CVE-2007-5000 CVE-2007-6388 CVE-2008-0005
Created:January 15, 2008 Updated:July 17, 2008
Description: A flaw was found in the mod_imap module. On sites where mod_imap was enabled and an imagemap file was publicly available, a cross-site scripting attack was possible. (CVE-2007-5000)

A flaw was found in the mod_status module. On sites where mod_status was enabled and the status pages were publicly available, a cross-site scripting attack was possible. (CVE-2007-6388)

A flaw was found in the mod_proxy_ftp module. On sites where mod_proxy_ftp was enabled and a forward proxy was configured, a cross-site scripting attack was possible against Web browsers which did not correctly derive the response character set following the rules in RFC 2616. (CVE-2008-0005)

Alerts:
Red Hat RHSA-2008:0004-01 2008-01-15
Red Hat RHSA-2008:0005-01 2008-01-15
Red Hat RHSA-2008:0006-01 2008-01-15
Red Hat RHSA-2008:0007-01 2008-01-15
Red Hat RHSA-2008:0008-01 2008-01-15
Mandriva MDVSA-2008:014 2008-01-16
Mandriva MDVSA-2008:015 2008-01-16
Mandriva MDVSA-2008:016 2007-01-16
Red Hat RHSA-2008:0009-01 2008-01-21
Ubuntu USN-575-1 2008-02-04
Slackware SSA:2008-045-01 2008-02-15
Slackware SSA:2008-045-02 2008-02-15
Fedora FEDORA-2008-1711 2008-02-15
Fedora FEDORA-2008-1695 2008-02-15
Gentoo 200803-19 2008-03-11
SuSE SUSE-SA:2008:021 2008-04-04
rPath rPSA-2008-0035-1 2008-07-16

Comments (1 posted)

claws-mail: insecure temp file

Package(s):claws-mail CVE #(s):CVE-2007-6208
Created:January 10, 2008 Updated:January 16, 2008
Description: Claws Mail creates temp files in an insecure manner. This can be used by a local attacker to make a symlink attack, allowing files with the local user's privileges to be overwritten.
Alerts:
Gentoo 200801-03 2008-01-09

Comments (none posted)

drupal: multiple vulnerabilities

Package(s):drupal CVE #(s):
Created:January 14, 2008 Updated:January 16, 2008
Description:

From the Fedora advisory:

Update to 5.6, security fixes:

DRUPAL-SA-2008-005
DRUPAL-SA-2008-006
DRUPAL-SA-2008-007
see http://drupal.org/security for more information.
Alerts:
Fedora FEDORA-2008-0485 2008-01-11
Fedora FEDORA-2008-0469 2008-01-11

Comments (none posted)

fail2ban: denial of service

Package(s):fail2ban CVE #(s):CVE-2007-4321
Created:January 10, 2008 Updated:January 16, 2008
Description: From the Debian alert: Daniel B. Cid discovered that fail2ban, a tool to block IP addresses that cause login failures, is too liberal about parsing SSH log files, allowing an attacker to block any IP address.
Alerts:
Debian DSA-1456-1 2008-01-09

Comments (none posted)

gforge: SQL injection

Package(s):gforge CVE #(s):CVE-2008-0173
Created:January 14, 2008 Updated:January 16, 2008
Description:

From the Debian advisory:

It was discovered that Gforge, a collaborative development tool, did not properly sanitise some CGI parameters, allowing SQL injection in scripts related to RSS exports.

Alerts:
Debian DSA-1459-1 2008-01-13

Comments (none posted)

httpd: cross-site scripting, denial of service

Package(s):httpd CVE #(s):CVE-2007-6421 CVE-2007-6422
Created:January 15, 2008 Updated:April 4, 2008
Description: A flaw was found in the mod_proxy_balancer module. On sites where mod_proxy_balancer was enabled, a cross-site scripting attack against an authorized user was possible. (CVE-2007-6421)

A flaw was found in the mod_proxy_balancer module. On sites where mod_proxy_balancer was enabled, an authorized user could send a carefully crafted request that would cause the Apache child process handling that request to crash. This could lead to a denial of service if using a threaded Multi-Processing Module. (CVE-2007-6422)

Alerts:
Red Hat RHSA-2008:0008-01 2008-01-15
Red Hat RHSA-2008:0009-01 2008-01-21
Ubuntu USN-575-1 2008-02-04
Slackware SSA:2008-045-01 2008-02-15
Fedora FEDORA-2008-1711 2008-02-15
Fedora FEDORA-2008-1695 2008-02-15
Gentoo 200803-19 2008-03-11
SuSE SUSE-SA:2008:021 2008-04-04

Comments (1 posted)

kernel: denial of service vulnerabilities

Package(s):kernel CVE #(s):CVE-2007-4133 CVE-2007-5093
Created:January 11, 2008 Updated:May 21, 2008
Description: The (1) hugetlb_vmtruncate_list and (2) hugetlb_vmtruncate functions in fs/hugetlbfs/inode.c in the Linux kernel before 2.6.19-rc4 perform certain prio_tree calculations using HPAGE_SIZE instead of PAGE_SIZE units, which allows local users to cause a denial of service (panic) via unspecified vectors.

The disconnect method in the Philips USB Webcam (pwc) driver in Linux kernel 2.6.x before 2.6.22.6 relies on user space to close the device, which allows user-assisted local attackers to cause a denial of service (USB subsystem hang and CPU consumption in khubd) by not closing the device after the disconnect is invoked. NOTE: this rarely crosses privilege boundaries, unless the attacker can convince the victim to unplug the affected device.

Alerts:
Mandriva MDVSA-2008:008 2008-01-11
Ubuntu USN-574-1 2008-02-04
Ubuntu USN-578-1 2008-02-14
Debian DSA-1503 2008-02-22
Debian DSA-1504 2008-02-22
Debian DSA-1503-2 2008-03-06
Red Hat RHSA-2008:0275-01 2008-05-20
Mandriva MDVSA-2008:105 2007-05-21
CentOS CESA-2008:0275 2008-05-21

Comments (none posted)

libxml2: denial of service

Package(s):libxml2 CVE #(s):CVE-2007-6284
Created:January 11, 2008 Updated:January 31, 2008
Description: A denial of service flaw was found in the way libxml2 processes certain content. If an application linked against libxml2 processes malformed XML content, it could cause the application to stop responding.
Alerts:
Red Hat RHSA-2008:0032-01 2008-01-11
Fedora FEDORA-2008-0462 2008-01-11
Fedora FEDORA-2008-0477 2008-01-11
Mandriva MDVSA-2008:010 2007-01-11
Debian DSA-1461-1 2008-01-13
Ubuntu USN-569-1 2008-01-14
rPath rPSA-2008-0017-1 2008-01-15
SuSE SUSE-SR:2008:002 2008-01-25
Gentoo 200801-20 2008-01-30

Comments (none posted)

moodle: cross-site scripting

Package(s):moodle CVE #(s):CVE-2008-0123
Created:January 16, 2008 Updated:July 9, 2008
Description: Moodle suffers from a cross-site scripting vulnerability which is only open during the install process.
Alerts:
Fedora FEDORA-2008-0627 2008-01-15
SuSE SUSE-SR:2008:003 2008-02-07

Comments (none posted)

openafs: denial of service

Package(s):openafs CVE #(s):CVE-2007-6599
Created:January 10, 2008 Updated:January 25, 2008
Description: From the Gentoo advisory: Russ Allbery, Jeffrey Altman, Dan Hyde and Thomas Mueller discovered a race condition due to an improper handling of the clients callbacks lists. A remote attacker could construct cases which trigger the race condition, resulting in a server crash.
Alerts:
Gentoo 200801-04 2008-01-09
Debian DSA-1458-1 2008-01-10
SuSE SUSE-SR:2008:002 2008-01-25

Comments (none posted)

paramiko: insecure random pool usage

Package(s):paramiko CVE #(s):CVE-2008-0299
Created:January 16, 2008 Updated:March 4, 2008
Description: Programs which keep more than one paramiko connection open may leak random pool information.
Alerts:
Fedora FEDORA-2008-0722 2008-01-15
Fedora FEDORA-2008-0644 2008-01-15
Gentoo 200803-07 2008-03-03

Comments (none posted)

R: buffer overflows

Package(s):R CVE #(s):
Created:January 10, 2008 Updated:January 16, 2008
Description: The R language has a copy of PCRE, that has a number of buffer overflow and memory corruption vulnerabilities. If an attacker creates specially crafted regular expressions, it may be possible to create a denial of service, execute arbitrary code or disclose unauthorized information.
Alerts:
Gentoo 200801-02:02 2008-01-09

Comments (none posted)

xfce4: multiple vulnerabilities

Package(s):xfce4 CVE #(s):CVE-2007-6531 CVE-2007-6532
Created:January 10, 2008 Updated:January 16, 2008
Description: From the Gentoo alert: Gregory Andersen reported that the Xfce4 panel does not correctly calculate memory boundaries, leading to a stack-based buffer overflow in the launcher_update_panel_entry() function (CVE-2007-6531). Daichi Kawahata reported libxfcegui4 did not copy provided values when creating "SessionClient" structs, possibly leading to access of freed memory areas (CVE-2007-6532).
Alerts:
Gentoo 200801-06:02 2008-01-09

Comments (none posted)

xine-lib: buffer overflow

Package(s):xine-lib CVE #(s):CVE-2008-0225
Created:January 16, 2008 Updated:February 15, 2008
Description: xine-lib contains a buffer overflow which could be exploited (via a specially-crafted stream) to execute arbitrary code; see this advisory for more information.
Alerts:
Fedora FEDORA-2008-0718 2008-01-15
Debian DSA-1472-1 2008-01-21
Mandriva MDVSA-2008:020 2007-01-22
SuSE SUSE-SR:2008:002 2008-01-25
Gentoo 200801-12 2008-01-27
Mandriva MDVSA-2008:045 2007-02-14

Comments (none posted)

Updated vulnerabilities

cairo: integer overflow

Package(s):Cairo CVE #(s):CVE-2007-5503
Created:November 29, 2007 Updated:April 10, 2008
Description: Cairo has an integer overflow vulnerability in the PNG image processing code. If a user processes a specially crafted PNG image with an application that is linked against cairo, arbitrary code can be executed with the user's privileges.
Alerts:
Red Hat RHSA-2007:1078-02 2007-11-29
Slackware SSA:2007-337-01 2007-12-04
Ubuntu USN-550-1 2007-12-03
Gentoo 200712-04 2007-12-09
Ubuntu USN-550-2 2007-12-10
Ubuntu USN-550-3 2007-12-13
rPath rPSA-2008-0015-1 2008-01-15
Fedora FEDORA-2007-3818 2008-01-16
Mandriva MDVSA-2008:019 2007-01-21
SuSE SUSE-SR:2008:003 2008-02-07
Debian DSA-1542-1 2008-04-09

Comments (none posted)

Django: denial of service

Package(s):Django CVE #(s):CVE-2007-5712
Created:November 12, 2007 Updated:May 21, 2008
Description:

From the CVE notice:

The internationalization (i18n) framework in Django 0.91, 0.95, 0.95.1, and 0.96, and as used in other products such as PyLucid, when the USE_I18N option and the i18n component are enabled, allows remote attackers to cause a denial of service (memory consumption) via many HTTP requests with large Accept-Language headers.

Alerts:
Fedora FEDORA-2007-3157 2007-11-09
Fedora FEDORA-2007-2788 2007-11-09

Comments (none posted)

MySQL: privilege escalation

Package(s):MySQL CVE #(s):CVE-2007-3781 CVE-2007-5969
Created:December 11, 2007 Updated:May 21, 2008
Description: MySQL Community Server before 5.0.51, when a table relies on symlinks created through explicit DATA DIRECTORY and INDEX DIRECTORY options, allows remote authenticated users to overwrite system table information and gain privileges via a RENAME TABLE statement that changes the symlink to point to an existing file. (CVE-2007-5969)

MySQL Community Server before 5.0.45 does not require privileges such as SELECT for the source table in a CREATE TABLE LIKE statement, which allows remote authenticated users to obtain sensitive information such as the table structure. (CVE-2007-3781)

Alerts:
Mandriva MDKSA-2007:243 2007-12-10
Red Hat RHSA-2007:1155-01 2007-12-18
Fedora FEDORA-2007-4471 2007-12-15
Fedora FEDORA-2007-4465 2007-12-15
Red Hat RHSA-2007:1157-01 2007-12-19
Ubuntu USN-559-1 2007-12-21
Debian DSA-1451-1 2008-01-06
rPath rPSA-2008-0018-1 2008-01-17
SuSE SUSE-SR:2008:003 2008-02-07
Gentoo 200804-04 2008-04-06
Red Hat RHSA-2008:0364-01 2008-05-21

Comments (none posted)

Sun JDK/JRE: multiple vulnerabilities

Package(s):Sun JDK/JRE CVE #(s):CVE-2007-2435 CVE-2007-2788 CVE-2007-2789
Created:June 1, 2007 Updated:April 18, 2008
Description: An unspecified vulnerability involving an "incorrect use of system classes" was reported by the Fujitsu security team. Additionally, Chris Evans from the Google Security Team reported an integer overflow resulting in a buffer overflow in the ICC parser used with JPG or BMP files, and an incorrect open() call to /dev/tty when processing certain BMP files.
Alerts:
Gentoo 200705-23 2007-05-31
Gentoo 200706-08 2007-06-26
SuSE SUSE-SA:2007:045 2007-07-18
Red Hat RHSA-2007:0817-01 2007-08-06
Red Hat RHSA-2007:1086-01 2007-12-12
Gentoo 200804-20 2008-04-17

Comments (none posted)

apache2: information disclosure

Package(s):apache CVE #(s):CVE-2007-1862
Created:June 20, 2007 Updated:February 18, 2008
Description: From the Mandriva advisory: "The recall_headers function in mod_mem_cache in Apache 2.2.4 does not properly copy all levels of header data, which can cause Apache to return HTTP headers containing previously-used data, which could be used to obtain potentially sensitive information by unauthorized users."
Alerts:
Mandriva MDKSA-2007:127 2007-06-19
Fedora FEDORA-2007-0704 2007-06-26
Fedora FEDORA-2008-1711 2008-02-15

Comments (2 posted)

apache: multiple vulnerabilities

Package(s):apache CVE #(s):CVE-2007-3304 CVE-2006-5752
Created:June 27, 2007 Updated:February 18, 2008
Description: The Apache HTTP Server did not verify that a process was an Apache child process before sending it signals. A local attacker who has the ability to run scripts on the Apache HTTP Server could manipulate the scoreboard and cause arbitrary processes to be terminated, which could lead to a denial of service. (CVE-2007-3304)

A flaw was found in the Apache HTTP Server mod_status module. Sites with the server-status page publicly accessible and ExtendedStatus enabled were vulnerable to a cross-site scripting attack. On Red Hat Enterprise Linux the server-status page is not enabled by default and it is best practice to not make this publicly available. (CVE-2006-5752)

Alerts:
Red Hat RHSA-2007:0532-01 2007-06-26
Red Hat RHSA-2007:0533-01 2007-06-27
Red Hat RHSA-2007:0534-01 2007-06-26
Red Hat RHSA-2007:0556-01 2007-06-26
rPath rPSA-2007-0136-1 2007-06-27
Fedora FEDORA-2007-617 2007-07-02
Mandriva MDKSA-2007:140 2007-07-04
Mandriva MDKSA-2007:141 2007-07-04
Mandriva MDKSA-2007:142 2007-07-04
Fedora FEDORA-2007-615 2007-07-12
Red Hat RHSA-2007:0557-01 2007-07-13
Red Hat RHSA-2007:0662-01 2007-07-13
Ubuntu USN-499-1 2007-08-16
rPath rPSA-2007-0182-1 2007-09-14
Fedora FEDORA-2007-2214 2007-09-18
SuSE SUSE-SA:2007:061 2007-11-19
Fedora FEDORA-2008-1711 2008-02-15

Comments (1 posted)

apache: cross-site scripting

Package(s):apache CVE #(s):CVE-2006-3918
Created:August 9, 2006 Updated:April 4, 2008
Description: From the Red Hat advisory: "A bug was found in Apache where an invalid Expect header sent to the server was returned to the user in an unescaped error message. This could allow an attacker to perform a cross-site scripting attack if a victim was tricked into connecting to a site and sending a carefully crafted Expect header."
Alerts:
Red Hat RHSA-2006:0618-01 2006-08-08
Red Hat RHSA-2006:0619-01 2006-08-10
Debian DSA-1167-1 2005-09-04
SuSE SUSE-SA:2006:051 2006-09-08
Ubuntu USN-575-1 2008-02-04
SuSE SUSE-SA:2008:021 2008-04-04

Comments (none posted)

httpd: denial of service, cross-site scripting

Package(s):apache httpd CVE #(s):CVE-2007-3847 CVE-2007-4465
Created:September 25, 2007 Updated:February 15, 2008
Description: A flaw was found in the mod_proxy module. On sites where a reverse proxy is configured, a remote attacker could send a carefully crafted request that would cause the Apache child process handling that request to crash. On sites where a forward proxy is configured, an attacker could cause a similar crash if a user could be persuaded to visit a malicious site using the proxy. This could lead to a denial of service if using a threaded Multi-Processing Module. (CVE-2007-3847)

A flaw was found in the mod_autoindex module. On sites where directory listings are used, and the AddDefaultCharset directive has been removed from the configuration, a cross-site-scripting attack may be possible against browsers which do not correctly derive the response character set following the rules in RFC 2616. (CVE-2007-4465)

Alerts:
Fedora FEDORA-2007-707 2007-09-24
Red Hat RHSA-2007:0911-01 2007-10-25
Red Hat RHSA-2007:0746-04 2007-11-07
Gentoo 200711-06 2007-11-07
Red Hat RHSA-2007:0747-02 2007-11-15
SuSE SUSE-SA:2007:061 2007-11-19
Mandriva MDKSA-2007:235 2007-12-03
Red Hat RHSA-2008:0004-01 2008-01-15
Red Hat RHSA-2008:0005-01 2008-01-15
Red Hat RHSA-2008:0006-01 2008-01-15
Red Hat RHSA-2008:0008-01 2008-01-15
Ubuntu USN-575-1 2008-02-04
Slackware SSA:2008-045-02 2008-02-15

Comments (none posted)

apache2: denial of service

Package(s):apache2 CVE #(s):CVE-2007-1863
Created:November 19, 2007 Updated:February 18, 2008
Description:

From the CVE entry:

cache_util.c in the mod_cache module in Apache HTTP Server (httpd), when caching is enabled and a threaded Multi-Processing Module (MPM) is used, allows remote attackers to cause a denial of service (child processing handler crash) via a request with the (1) s-maxage, (2) max-age, (3) min-fresh, or (4) max-stale Cache-Control headers without a value.

Alerts:
SuSE SUSE-SA:2007:061 2007-11-19
Fedora FEDORA-2008-1711 2008-02-15

Comments (1 posted)

Asterisk: denial of service

Package(s):asterisk CVE #(s):
Created:January 4, 2008 Updated:January 9, 2008
Description: Asterisk has issued a security advisory on a remote crash vulnerability in the SIP channel driver.
Alerts:
Fedora FEDORA-2008-0198 2008-01-03
Fedora FEDORA-2008-0199 2008-01-03

Comments (none posted)

asterisk: possible SQL injection

Package(s):asterisk CVE #(s):CVE-2007-6170
Created:December 3, 2007 Updated:April 15, 2008
Description: Tilghman Lesher discovered that the logging engine of Asterisk, a free software PBX and telephony toolkit, performs insufficient sanitizing of call-related data, which may lead to SQL injection.
Alerts:
Debian DSA-1417-1 2007-12-02
SuSE SUSE-SR:2008:005 2008-03-06
Gentoo 200804-13 2008-04-14

Comments (none posted)

autofs: privilege escalation

Package(s):autofs CVE #(s):CVE-2007-6285
Created:December 21, 2007 Updated:January 14, 2008
Description: The default configuration for autofs 5 (autofs5) on Red Hat Enterprise Linux (RHEL) 4 and 5 does not specify the nodev mount option for the -hosts map, which allows local users to access "important devices" by operating a remote NFS server and creating special device files on that server.
Alerts:
Red Hat RHSA-2007:1176-01 2007-12-20
Red Hat RHSA-2007:1177-01 2007-12-20
Fedora FEDORA-2007-4709 2007-12-21
Fedora FEDORA-2007-4707 2007-12-21
Mandriva MDVSA-2008:009 2007-01-11
Mandriva MDVSA-2008:009-1 2007-01-12

Comments (1 posted)

autofs: insecure default configuration

Package(s):autofs CVE #(s):CVE-2007-5964
Created:December 12, 2007 Updated:January 14, 2008
Description: Versions of the autofs automounter daemon as shipped by Red Hat (and possibly other distributors) are installed with an insecure configuration; in particular, the "hosts" map lacks the "nosuid" option, allowing an attacker who has control over an NFS server to run setuid programs on vulnerable systems.
Alerts:
Red Hat RHSA-2007:1128-01 2007-12-12
Red Hat RHSA-2007:1129-01 2007-12-12
Fedora FEDORA-2007-4532 2007-12-15
Fedora FEDORA-2007-4469 2007-12-15
Fedora FEDORA-2007-4709 2007-12-21
Fedora FEDORA-2007-4707 2007-12-21
Mandriva MDVSA-2008:009 2007-01-11
Mandriva MDVSA-2008:009-1 2007-01-12

Comments (none posted)

bind: insecure permissions

Package(s):bind CVE #(s):CVE-2007-6283
Created:December 21, 2007 Updated:July 10, 2008
Description: Red Hat Enterprise Linux 5 and Fedora install the Bind /etc/rndc.key file with world-readable permissions, which allows local users to perform unauthorized named commands, such as causing a denial of service by stopping named.
Alerts:
Fedora FEDORA-2007-4655 2007-12-20
Fedora FEDORA-2007-4658 2007-12-20
Fedora FEDORA-2008-0903 2008-01-22
Red Hat RHSA-2008:0300-02 2008-05-21
Fedora FEDORA-2008-6281 2008-07-09

Comments (1 posted)

cacti: SQL injection vulnerability

Package(s):cacti CVE #(s):CVE-2007-6035
Created:November 22, 2007 Updated:February 18, 2008
Description: Versions of Cacti prior to 0.8.7a have an SQL injection vulnerability. Remote attackers can execute arbitrary SQL commands via unspecified vectors.
Alerts:
Fedora FEDORA-2007-3667 2007-11-22
Fedora FEDORA-2007-3683 2007-11-22
SuSE SUSE-SR:2007:024 2007-11-22
Mandriva MDKSA-2007:231 2007-11-22
Debian DSA-1418-1 2007-12-02
Gentoo 200712-02:02 2007-12-05
Fedora FEDORA-2008-1737 2008-02-15
Fedora FEDORA-2008-1699 2008-02-15

Comments (none posted)

cacti: denial of service

Package(s):cacti CVE #(s):CVE-2007-3112 CVE-2007-3113
Created:September 18, 2007 Updated:February 18, 2008
Description: A vulnerability in Cacti 0.8.6i and earlier versions allows remote authenticated users to cause a denial of service (CPU consumption) via large values of the graph_start, graph_end, graph_height, or graph_width parameters.
Alerts:
Mandriva MDKSA-2007:184 2007-09-17
Fedora FEDORA-2007-2199 2007-09-18
Fedora FEDORA-2007-3683 2007-11-22
Fedora FEDORA-2008-1737 2008-02-15

Comments (none posted)

clamav: denial of service

Package(s):clamav CVE #(s):CVE-2007-3725
Created:July 24, 2007 Updated:February 27, 2008
Description: A NULL pointer dereference has been discovered in the RAR VM of Clam Antivirus (ClamAV) which allows user-assisted remote attackers to cause a denial of service via a specially crafted RAR archives.
Alerts:
Debian DSA-1340-1 2007-07-24
Mandriva MDKSA-2007:150 2007-07-25
Gentoo 200708-04 2007-08-09
SuSE SUSE-SR:2007:015 2007-08-03

Comments (none posted)

clamav: multiple vulnerabilities

Package(s):clamav CVE #(s):CVE-2007-4510 CVE-2007-4560
Created:September 3, 2007 Updated:February 13, 2008
Description: Several remote vulnerabilities have been discovered in the Clam anti-virus toolkit. The Common Vulnerabilities and Exposures project identifies the following problems:

CVE-2007-4510: It was discovered that the RTF and RFC2397 parsers can be tricked into dereferencing a NULL pointer, resulting in denial of service.

CVE-2007-4560: It was discovered clamav-milter performs insufficient input sanitizing, resulting in the execution of arbitrary shell commands.

Alerts:
Debian DSA-1366-1 2007-09-01
Mandriva MDKSA-2007:172 2007-08-31
Fedora FEDORA-2007-2050 2007-09-07
Gentoo 200709-14 2007-09-20
Fedora FEDORA-2008-0170 2008-01-22
Fedora FEDORA-2008-1608 2008-02-13

Comments (none posted)

clamav: mystery vulnerability

Package(s):clamav CVE #(s):CVE-2007-6337
Created:December 31, 2007 Updated:January 22, 2008
Description: Clamav contains "an unspecified vulnerability" associated with the bzip2 decompression code.
Alerts:
Gentoo 200712-20 2007-12-29
Mandriva MDVSA-2008:003 2007-01-08
SuSE SUSE-SR:2008:001 2008-01-09
Fedora FEDORA-2008-0170 2008-01-22
Fedora FEDORA-2008-0115 2008-01-22

Comments (1 posted)

clamav: integer overflow and off-by-one

Package(s):clamav CVE #(s):CVE-2007-6335 CVE-2007-6336
Created:December 19, 2007 Updated:July 17, 2008
Description: ClamAV contains integer overflow and off-by-one errors which could be exploited (via specially-crafted email) to execute arbitrary code.
Alerts:
Debian DSA-1435-1 2007-12-19
Gentoo 200712-20 2007-12-29
Mandriva MDVSA-2008:003 2007-01-08
SuSE SUSE-SR:2008:001 2008-01-09
Fedora FEDORA-2008-0170 2008-01-22
Fedora FEDORA-2008-0115 2008-01-22
Fedora FEDORA-2008-1608 2008-02-13
Fedora FEDORA-2008-1625 2008-02-13
Fedora FEDORA-2008-6422 2008-07-17

Comments (none posted)

cups: denial of service

Package(s):cups CVE #(s):CVE-2007-0720
Created:March 26, 2007 Updated:February 7, 2008
Description: Previous versions of the cups package could be forced to hang via a client "partially negotiating" an ssl connection. In this state, cups would not allow other connections to be made, a denial of service.
Alerts:
Foresight FLEA-2007-0003-1 2007-03-25
Gentoo 200703-28 2007-03-31
Red Hat RHSA-2007:0123-01 2007-04-16
Mandriva MDKSA-2007:086 2007-04-16
Mandriva MDVSA-2008:036 2007-02-06

Comments (none posted)

cups: buffer overflow

Package(s):cups CVE #(s):CVE-2007-5848
Created:January 7, 2008 Updated:February 27, 2008
Description:

From the CVE entry:

Buffer overflow in CUPS in Apple Mac OS X 10.4.11 allows local admin users to execute arbitrary code via a crafted URI to the CUPS service.

From the rPath advisory:

Previous versions of the cups package contain a buffer-overflow weakness. It is not believed that this weakness can be exploited to execute malicious code.

Alerts:
rPath rPSA-2008-0008-1 2008-01-05
SuSE SUSE-SA:2008:002 2008-01-10
SuSE SUSE-SR:2008:002 2008-01-25
Mandriva MDVSA-2008:050 2008-02-26

Comments (1 posted)

cups: multiple vulnerabilities

Package(s):cups CVE #(s):CVE-2007-5849 CVE-2007-6358 CVE-2007-4352 CVE-2007-5392 CVE-2007-5393
Created:December 19, 2007 Updated:April 3, 2008
Description: The cups 1.3.5 release fixes a number of vulnerabilities in the PDF filters. Additionally, there is a buffer overflow in the SNMP code and a temporary file vulnerability.
Alerts:
Gentoo 200712-14 2007-12-18
Debian DSA-1437-1 2007-12-26
Ubuntu USN-563-1 2008-01-09
SuSE SUSE-SA:2008:002 2008-01-10
SuSE SUSE-SR:2008:002 2008-01-25
Debian DSA-1480-1 2008-02-05
Mandriva MDVSA-2008:036 2007-02-06
Debian DSA-1537-1 2008-04-02

Comments (none posted)

debian-goodies: privilege escalation

Package(s):debian-goodies CVE #(s):CVE-2007-3912
Created:October 5, 2007 Updated:March 24, 2008
Description: Thomas de Grenier de Latour discovered that the checkrestart program included in debian-goodies did not correctly handle shell meta-characters. A local attacker could exploit this to gain the privileges of the user running checkrestart.
Alerts:
Ubuntu USN-526-1 2007-10-04
Debian DSA-1527-1 2008-03-24

Comments (none posted)

dovecot: multiple vulnerabilities

Package(s):dovecot CVE #(s):CVE-2007-6598
Created:January 3, 2008 Updated:May 21, 2008
Description: Dovecot has multiple vulnerabilities including an issue involving the confusion between LDAP-authenticated logins across users with the same password and a denial of service involving a connecting user.
Alerts:
rPath rPSA-2008-0001-1 2008-01-03
Debian DSA-1457-1 2008-01-09
Ubuntu USN-567-1 2008-01-10
Red Hat RHSA-2008:0297-02 2008-05-21

Comments (none posted)

dovecot: privilege escalation

Package(s):dovecot CVE #(s):CVE-2007-4211
Created:August 15, 2007 Updated:May 21, 2008
Description: From the rPath advisory: "Previous versions of the dovecot package are vulnerable to a minor privilege escalation attack in which an authenticated user may exploit an ACL plugin weakness to save message flags without having proper permissions."
Alerts:
rPath rPSA-2007-0161-1 2007-08-14
Fedora FEDORA-2007-664 2007-08-20
Red Hat RHSA-2008:0297-02 2008-05-21

Comments (none posted)

dovecot: directory traversal

Package(s):dovecot CVE #(s):CVE-2007-2231
Created:May 8, 2007 Updated:May 21, 2008
Description: Directory traversal vulnerability in index/mbox/mbox-storage.c in Dovecot before 1.0.rc29, when using the zlib plugin, allows remote attackers to read arbitrary gzipped (.gz) mailboxes (mbox files) via a .. (dot dot) sequence in the mailbox name.
Alerts:
Fedora FEDORA-2007-493 2007-05-07
Ubuntu USN-487-1 2007-07-17
Debian DSA-1359-1 2007-08-28
Red Hat RHSA-2008:0297-02 2008-05-21

Comments (none posted)

e2fsprogs: integer overflows

Package(s):e2fsprogs CVE #(s):CVE-2007-5497
Created:December 7, 2007 Updated:February 12, 2008
Description: Rafal Wojtczuk of McAfee AVERT Research discovered that e2fsprogs, ext2 file system utilities and libraries, contained multiple integer overflows in memory allocations, based on sizes taken directly from filesystem information. These could result in heap-based overflows potentially allowing the execution of arbitrary code.
Alerts:
Debian DSA-1422 2007-12-07
Ubuntu USN-555-1 2007-12-08
Mandriva MDKSA-2007:242 2007-12-10
rPath rPSA-2007-0262-1 2007-12-11
Gentoo 200712-13 2007-12-18
Red Hat RHSA-2008:0003-01 2008-01-07
Fedora FEDORA-2007-4461 2008-01-16
Fedora FEDORA-2007-4447 2008-01-16
Foresight FLEA-2008-0005-1 2008-02-11

Comments (none posted)

emacs: buffer overflow

Package(s):emacs CVE #(s):CVE-2007-6109
Created:December 10, 2007 Updated:May 6, 2008
Description:

From the National Vulnerability Database:

Buffer overflow in emacs allows attackers to have an unknown impact, as demonstrated via a vector involving the command line.

Alerts:
Gentoo 200712-03 2007-12-09
Mandriva MDVSA-2008:034 2007-02-04
SuSE SUSE-SR:2008:003 2008-02-07
Ubuntu USN-607-1 2008-05-06

Comments (none posted)

emacs: command execution via local variables

Package(s):emacs CVE #(s):CVE-2007-5795
Created:November 14, 2007 Updated:February 5, 2008
Description: From the original Debian problem report: "In Debian's version of GNU Emacs 22.1+1-2, the `hack-local-variables' function does not behave correctly when `enable-local-variables' is set to :safe. The documentation of `enable-local-variables' states that the value :safe means to set only safe variables, as determined by `safe-local-variable-p' and `risky-local-variable-p' (and the data driving them), but Emacs ignores this and instead sets all the local variables." When this setting (which is not the default) is in effect, opening a hostile file could lead to the execution of arbitrary commands.
Alerts:
Ubuntu USN-541-1 2007-11-13
Fedora FEDORA-2007-3056 2007-11-17
Fedora FEDORA-2007-2946 2007-11-17
Gentoo 200712-03 2007-12-09
Mandriva MDVSA-2008:034 2007-02-04

Comments (1 posted)

evolution: format string error

Package(s):evolution CVE #(s):CVE-2007-1002
Created:March 27, 2007 Updated:February 27, 2008
Description: A format string error in the "write_html()" function in calendar/gui/ e-cal-component-memo-preview.c when displaying a memo's categories can potentially be exploited to execute arbitrary code via a specially crafted shared memo containing format specifiers.
Alerts:
Mandriva MDKSA-2007:070 2007-03-27
Fedora FEDORA-2007-393 2007-04-04
Fedora FEDORA-2007-404 2007-04-04
Foresight FLEA-2007-0010-1 2007-04-05
Red Hat RHSA-2007:0158-01 2007-05-03
Gentoo 200706-02 2007-06-06
SuSE SUSE-SR:2007:015 2007-08-03

Comments (1 posted)

exiftags: multiple vulnerabilities

Package(s):exiftags CVE #(s):CVE-2007-6354 CVE-2007-6355 CVE-2007-6356
Created:December 31, 2007 Updated:April 1, 2008
Description: From the Gentoo advisory: Meder Kydyraliev (Google Security) discovered that Exif metadata is not properly sanitized before being processed, resulting in illegal memory access in the postprop() and other functions (CVE-2007-6354). He also discovered integer overflow vulnerabilities in the parsetag() and other functions (CVE-2007-6355) and an infinite recursion in the readifds() function caused by recursive IFD references (CVE-2007-6356).
Alerts:
Gentoo 200712-17 2007-12-29
Debian DSA-1533-1 2008-03-27
Debian DSA-1533-2 2008-04-01

Comments (none posted)

exiv2: integer overflow

Package(s):exiv2 CVE #(s):CVE-2007-6353
Created:December 21, 2007 Updated:June 23, 2008
Description: Integer overflow in exif.cpp in exiv2 library allows context-dependent attackers to execute arbitrary code via a crafted EXIF file that triggers a heap-based buffer overflow.
Alerts:
Fedora FEDORA-2007-4551 2007-12-20
Fedora FEDORA-2007-4591 2007-12-20
Gentoo 200712-16 2007-12-29
SuSE SUSE-SR:2008:001 2008-01-09
Mandriva MDVSA-2008:006 2007-01-10
Debian DSA-1474-1 2008-01-23
Mandriva MDVSA-2008:119 2007-06-19

Comments (none posted)

firebird: buffer overflow

Package(s):firebird CVE #(s):CVE-2007-3181
Created:July 2, 2007 Updated:March 27, 2008
Description: The Firebird DBMS has a buffer overflow vulnerability involving the processing of connect requests with an overly large p_cnct_count value. Remote attackers can send a specially crafted request to the server in order to potentially execute arbitrary code with the permissions of the Firebird user.
Alerts:
Gentoo 200707-01 2007-07-01
Debian DSA-1529-1 2008-03-24

Comments (none posted)

firefox: multiple vulnerabilities

Package(s):firefox CVE #(s):CVE-2007-3844 CVE-2007-3845
Created:August 1, 2007 Updated:February 20, 2008
Description:

A flaw was discovered in handling of "about:blank" windows used by addons. A malicious web site could exploit this to modify the contents, or steal confidential data (such as passwords), of other web pages. (CVE-2007-3844)

Jesper Johansson discovered that spaces and double-quotes were not correctly handled when launching external programs. In rare configurations, after tricking a user into opening a malicious web page, an attacker could execute helpers with arbitrary arguments with the user's privileges. (CVE-2007-3845)

Alerts:
Ubuntu USN-493-1 2007-07-31
Foresight FLEA-2007-0039-1 2007-08-01
Mandriva MDKSA-2007:152 2007-08-01
Slackware SSA:2007-213-01 2007-08-02
Foresight FLEA-2007-0040-1 2007-08-03
Debian DSA-1344-1 2007-08-03
Debian DSA-1345-1 2007-08-04
Debian DSA-1346-1 2007-08-04
Slackware SSA:2007-215-01 2007-08-06
rPath rPSA-2007-0157-1 2007-08-10
Gentoo 200708-09 2007-08-14
Debian DSA-1391-1 2007-10-19
Red Hat RHSA-2007:0979-01 2007-10-19
Red Hat RHSA-2007:0980-01 2007-10-19
Red Hat RHSA-2007:0981-01 2007-10-19
Fedora FEDORA-2007-3431 2007-11-16
Fedora FEDORA-2007-3414 2007-11-16
Mandriva MDVSA-2007:047 2007-02-19

Comments (none posted)

firefox: multiple vulnerabilities

Package(s):firefox seamonkey CVE #(s):CVE-2007-5947 CVE-2007-5959 CVE-2007-5960
Created:November 27, 2007 Updated:March 3, 2008
Description: A cross-site scripting flaw was found in the way Firefox handled the jar: URI scheme. It was possible for a malicious website to leverage this flaw and conduct a cross-site scripting attack against a user running Firefox. (CVE-2007-5947)

Several flaws were found in the way Firefox processed certain malformed web content. A webpage containing malicious content could cause Firefox to crash, or potentially execute arbitrary code as the user running Firefox. (CVE-2007-5959)

A race condition existed when Firefox set the "window.location" property for a webpage. This flaw could allow a webpage to set an arbitrary Referer header, which may lead to a Cross-site Request Forgery (CSRF) attack against websites that rely only on the Referer header for protection. (CVE-2007-5960)

Alerts:
Red Hat RHSA-2007:1082-01 2007-11-26
Red Hat RHSA-2007:1084-01 2007-11-26
Ubuntu USN-546-1 2007-11-26
Slackware SSA:2007-331-01 2007-11-28
Fedora FEDORA-2007-3952 2007-11-29
Fedora FEDORA-2007-3962 2007-11-29
Slackware SSA:2007-333-01 2007-11-30
Fedora FEDORA-2007-756 2007-12-03
SuSE SUSE-SA:2007:066 2007-12-05
Ubuntu USN-546-2 2007-12-04
rPath rPSA-2007-0260-1 2007-12-06
Fedora FEDORA-2007-4098 2007-12-06
Fedora FEDORA-2007-4106 2007-12-06
Debian DSA-1424-1 2007-12-08
Debian DSA-1425-1 2007-12-08
Mandriva MDKSA-2007:246 2007-12-13
Red Hat RHSA-2007:1083-01 2007-12-19
Gentoo 200712-21 2007-12-29
Foresight FLEA-2008-0001-1 2008-02-11
rPath rPSA-2008-0093-1 2008-02-29

Comments (1 posted)

firefox, thunderbird, seamonkey: multiple vulnerabilities

Package(s):firefox, thunderbird, seamonkey CVE #(s):CVE-2007-3738 CVE-2007-3656 CVE-2007-3670 CVE-2007-3285 CVE-2007-3737 CVE-2007-3089 CVE-2007-3736 CVE-2007-3734 CVE-2007-3735
Created:July 18, 2007 Updated:May 12, 2008
Description: shutdown and moz_bug_r_a4 reported two separate ways to modify an XPCNativeWrapper such that subsequent access by the browser would result in executing user-supplied code. (CVE-2007-3738)

Michal Zalewski reported that it was possible to bypass the same-origin checks and read from cached (wyciwyg) documents It is possible to access wyciwyg:// documents without proper same domain policy checks through the use of HTTP 302 redirects. This enables the attacker to steal sensitive data displayed on dynamically generated pages; perform cache poisoning; and execute own code or display own content with URL bar and SSL certificate data of the attacked page (URL spoofing++). (CVE-2007-3656)

Internet Explorer calls registered URL protocols without escaping quotes and may be used to pass unexpected and potentially dangerous data to the application that registers that URL Protocol. (CVE-2007-3670)

Ronald van den Heetkamp reported that a filename URL containing %00 (encoded null) can cause Firefox to interpret the file extension differently than the underlying Windows operating system potentially leading to unsafe actions such as running a program. This is only accessible locally. (CVE-2007-3285)

An attacker can use an element outside of a document to call an event handler allowing content to run arbitrary code with chrome privileges. (CVE-2007-3737)

Ronen Zilberman and Michal Zalewski both reported that it was possible to exploit a timing issue to inject content into about:blank frames in a page. When opening a window from a script, it is possible to spoof the content of the newly opened window's frames within a short time frame, while the window is loading. (CVE-2007-3089)

Mozilla contributor moz_bug_r_a4 demonstrated that the methods addEventListener and setTimeout could be used to inject script into another site in violation of the browser's same-origin policy. This could be used to access or modify private or valuable information from that other site. (CVE-2007-3736)

As part of the Firefox 2.0.0.5 update releases Mozilla developers fixed many bugs to improve the stability of the product. Some of these crashes that showed evidence of memory corruption under certain circumstances and we presume that with enough effort at least some of these could be exploited to run arbitrary code. Note: Thunderbird shares the browser engine with Firefox and could be vulnerable if JavaScript were to be enabled in mail. This is not the default setting and we strongly discourage users from running JavaScript in mail. Without further investigation we cannot rule out the possibility that for some of these an attacker might be able to prepare memory for exploitation through some means other than JavaScript, such as large images. (CVE-2007-3734, CVE-2007-3735)

Alerts:
Fedora FEDORA-2007-1138 2007-07-18
Fedora FEDORA-2007-1142 2007-07-18
Fedora FEDORA-2007-1144 2007-07-18
Fedora FEDORA-2007-1143 2007-07-18
Red Hat RHSA-2007:0722-01 2007-07-18
Red Hat RHSA-2007:0723-01 2007-07-18
Red Hat RHSA-2007:0724-01 2007-07-18
Fedora FEDORA-2007-1155 2007-07-19
Fedora FEDORA-2007-1157 2007-07-19
Fedora FEDORA-2007-1159 2007-07-19
Slackware SSA:2007-200-01 2007-07-20
Ubuntu USN-490-1 2007-07-19
rPath rPSA-2007-0148-1 2007-07-20
Fedora FEDORA-2007-641 2007-07-20
Fedora FEDORA-2007-642 2007-07-20
Debian DSA-1337-1 2007-07-22
Fedora FEDORA-2007-1180 2007-07-20
Fedora FEDORA-2007-1181 2007-07-20
Debian DSA-1338-1 2007-07-23
Debian DSA-1339-1 2007-07-23
Foresight FLEA-2007-0033-1 2007-07-24
Slackware SSA:2007-205-01 2007-07-25
Slackware SSA:2007-205-02 2007-07-25
SuSE SUSE-SA:2007:049 2007-08-02