LWN.net Logo

Security

Security hardening for Debian

By Jake Edge
February 6, 2008

Making the programs in a distribution more resistant to exploits—a process known as hardening—is a fairly common way to reduce the attack surface for the distribution. Many distributions have made an effort in this area, with some adding in an overall security architecture, like AppArmor for SUSE or SELinux for Red Hat and Fedora distributions. Debian is currently looking at enabling some hardening features, potentially throughout a large swath of packages that it distributes. The features being considered and the concerns raised provide an interesting look at the tradeoffs.

Advertisement

A posting to debian-devel-announce regarding hardening features for Lenny started the conversation. Those packages that are most susceptible—network services, packages that parse files from untrusted sources, or those that have been the subject of a security alert—should enable a set of security tools that will help deflect attacks against them. Various attacks rely upon certain characteristics of Linux binaries that allow them to be exploited. By altering the way the binaries are built, those particular threats can be mitigated.

The experimental hardening-wrapper package makes enabling the various toolchain differences as easy as setting DEB_BUILD_HARDENING=1 in the environment. This will change gcc, g++, and ld to use the desired flags when building packages. Each hardening feature can also be disabled separately by setting DEB_BUILD_HARDENING_xyzzy=0 (where xyzzy is the name of a hardening feature) if they cause build or performance problems for a particular package.

The specific features enabled are described in the original posting as well as with more detail on the Debian wiki entry for Hardening. They are:

  • using -Wformat to catch printf() family calls that do not have a string literal for the format string which can lead to problems if the argument came from an untrusted source and contains format specifiers.
  • using -D_FORTIFY_SOURCE_ to validate glibc calls such as strcpy() when the buffer sizes are known at compile time, which can help stop buffer overflow attacks.
  • using -fstack-protector to thwart most stack smashing attacks.
  • creating Position Independent Executables (PIE) which facilitates using the Address Space Layout Randomization that is available in some kernels. This makes it difficult for an attacker to have any knowledge of what the addresses for the program's sections will look like.
  • using ld -z relro to change certain sections to be read-only once ld has made its modifications while loading the program. This can thwart attacks that try to overwrite the Global Offset Table (GOT).

Many other distributions have already been down this path: Gentoo has a page describing their hardened toolchain, Mark Cox of Red Hat has a detailed look at the evolution of security features in Red Hat and Fedora releases, OpenSUSE has a page about its security features, and so on. There is a price to be paid in binary size, execution speed, and cache behavior for these techniques, but for most environments, where resources are not massively constrained, the cost is worth it. It makes new attacks against those systems more difficult to design, which will make users and administrators sleep a little better at night.

Comments (4 posted)

New vulnerabilities

gnatsweb: cross-site scripting

Package(s):gnatsweb CVE #(s):CVE-2007-2808
Created:February 6, 2008 Updated:February 6, 2008
Description: From the Debian advisory: "r0t" discovered that gnatsweb, a web interface to GNU GNATS, did not correctly sanitize the database parameter in the main CGI script. This could allow the injection of arbitrary HTML, or javascript code.
Alerts:
Debian DSA-1486-1 2008-02-04

Comments (none posted)

goffice: multiple vulnerabilities

Package(s):goffice CVE #(s):
Created:January 31, 2008 Updated:February 6, 2008
Description: GOffice is vulnerable to buffer overflows and memory corruption in PCRE. If an attacker can convince a user to open specially crafted documents, it may be possible to execute arbitrary code, disclose information or cause a denial of service.
Alerts:
Gentoo 200801-19 2008-01-30

Comments (none posted)

kazehakase: multiple vulnerabilities

Package(s):kazehakase CVE #(s):
Created:January 31, 2008 Updated:February 6, 2008
Description: The kazehakase web browser is vulnerable to buffer overflows and memory corruption in PCRE. If a remote attacker can convince a user to open specially crafted bookmarks, it can lead to the execution of arbitrary code, denial of service or arbitrary information disclosure.
Alerts:
Gentoo 200801-18 2008-01-30

Comments (none posted)

kernel: denial of service

Package(s):kernel CVE #(s):CVE-2007-4130 CVE-2007-6694
Created:February 1, 2008 Updated:March 6, 2008
Description: From the Red Hat advisory: A flaw was found in the way the Red Hat Enterprise Linux 4 kernel handled page faults when a CPU used the NUMA method for accessing memory on Itanium architectures. A local unprivileged user could trigger this flaw and cause a denial of service (system panic). A possible NULL pointer dereference was found in the chrp_show_cpuinfo function when using the PowerPC architecture. This may have allowed a local unprivileged user to cause a denial of service (crash).
Alerts:
Red Hat RHSA-2008:0055-01 2008-01-31
Debian DSA-1503 2008-02-22
Debian DSA-1504 2008-02-22
Red Hat RHSA-2008:0154-01 2008-03-05
Debian DSA-1503-2 2008-03-06

Comments (none posted)

pcre: denial of service

Package(s):pcre CVE #(s):CVE-2006-7225 CVE-2006-7226
Created:February 1, 2008 Updated:February 6, 2008
Description: From the CVE entries: Perl-Compatible Regular Expression (PCRE) library before 6.7 allows context-dependent attackers to cause a denial of service (error or crash) via a regular expression that involves a "malformed POSIX character class", as demonstrated via an invalid character after a [[ sequence. Perl-Compatible Regular Expression (PCRE) library before 6.7 does not properly calculate the compiled memory allocation for regular expressions that involve a quantified "subpattern containing a named recursion or subroutine reference," which allows context-dependent attackers to cause a denial of service (error or crash).
Alerts:
Mandriva MDVSA-2008:030 2008-01-31

Comments (1 posted)

rb_libtorrent: stack overflow

Package(s):rb_libtorrent CVE #(s):
Created:February 4, 2008 Updated:February 6, 2008
Description: From the Fedora advisory: A potential remote exploit was found in the bdecode_recursive routine that could trigger a stack overflow when passed malformed message data.
Alerts:
Fedora FEDORA-2008-1198 2008-02-02

Comments (none posted)

xdg-utils: arbitrary command execution

Package(s):xdg-utils CVE #(s):CVE-2008-0386
Created:January 31, 2008 Updated:February 22, 2008
Description: From the Gentoo alert: Miroslav Lichvar discovered that the "xdg-open" and "xdg-email" shell scripts do not properly sanitize their input before processing it. A remote attacker could entice a user to open a specially crafted link with a vulnerable application using Xdg-Utils (e.g. an email client), resulting in the execution of arbitrary code with the privileges of the user running the application.
Alerts:
Gentoo 200801-21 2008-01-30
Mandriva MDVSA-2008:031 2007-02-01
SuSE SUSE-SR:2008:004 2008-02-22

Comments (1 posted)

Updated vulnerabilities

cairo: integer overflow

Package(s):Cairo CVE #(s):CVE-2007-5503
Created:November 29, 2007 Updated:February 8, 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

Comments (none posted)

MySQL: privilege escalation

Package(s):MySQL CVE #(s):CVE-2007-3781 CVE-2007-5969
Created:December 11, 2007 Updated:February 8, 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

Comments (none posted)

Xorg: multiple vulnerabilities

Package(s):Xorg CVE #(s):CVE-2007-5760 CVE-2007-5958 CVE-2007-6427 CVE-2007-6428 CVE-2007-6429 CVE-2008-0006
Created:January 17, 2008 Updated:March 6, 2008
Description: From the X.org security advisory: Several vulnerabilities have been identified in server code of the X window system caused by lack of proper input validation on user controlled data in various parts of the software, causing various kinds of overflows.
Alerts:
SuSE SUSE-SA:2008:003 2008-01-17
Debian DSA-1466-1 2008-01-17
Red Hat RHSA-2008:0030-01 2008-01-17
Red Hat RHSA-2008:0031-01 2008-01-17
Red Hat RHSA-2008:0064-01 2008-01-17
Red Hat RHSA-2008:0029-01 2008-01-18
Ubuntu USN-571-1 2008-01-18
Debian DSA-1466-2 2008-01-19
Gentoo 200801-09 2008-01-20
Ubuntu USN-571-2 2008-01-19
Debian DSA-1466-3 2008-01-21
Fedora FEDORA-2008-0760 2008-01-22
Fedora FEDORA-2008-0794 2008-01-22
Fedora FEDORA-2008-0831 2008-01-22
Fedora FEDORA-2008-0891 2008-01-22
Mandriva MDVSA-2008:021 2008-01-23
Mandriva MDVSA-2008:022 2008-01-23
Mandriva MDVSA-2008:023 2007-01-23
Mandriva MDVSA-2008:024 2007-01-23
Mandriva MDVSA-2008:025 2007-01-23
rPath rPSA-2008-0032-1 2008-01-30
SuSE SUSE-SR:2008:003 2008-02-07
Gentoo GLSA 200801-09:03 2008-01-20

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:February 5, 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

Comments (none posted)

apache: several vulnerabilities

Package(s):apache CVE #(s):CVE-2007-5000 CVE-2007-6388 CVE-2008-0005
Created:January 15, 2008 Updated:March 12, 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

Comments (1 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: possible SQL injection

Package(s):asterisk CVE #(s):CVE-2007-6170
Created:December 3, 2007 Updated:March 7, 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

Comments (none posted)

bind: off-by-one error

Package(s):bind CVE #(s):CVE-2008-0122
Created:January 22, 2008 Updated:March 14, 2008
Description: Off-by-one error in the inet_network function in libc in FreeBSD 6.2, 6.3, and 7.0-PRERELEASE and earlier allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via crafted input that triggers memory corruption.
Alerts:
Fedora FEDORA-2008-0903 2008-01-22
Fedora FEDORA-2008-0904 2008-01-22
rPath rPSA-2008-0029-1 2008-01-24
SuSE SUSE-SR:2008:006 2008-03-14

Comments (none posted)

boost: denial of service

Package(s):boost CVE #(s):CVE-2008-0171 CVE-2008-0172
Created:January 17, 2008 Updated:March 14, 2008
Description: From the Ubuntu alert: Will Drewry and Tavis Ormandy discovered that the boost library did not properly perform input validation on regular expressions. An attacker could send a specially crafted regular expression to an application linked against boost and cause a denial of service via application crash.
Alerts:
Ubuntu USN-570-1 2008-01-16
Fedora FEDORA-2008-0880 2008-01-22
Mandriva MDVSA-2008:032 2007-02-01
rPath rPSA-2008-0063-1 2008-02-13
Gentoo 200802-08 2008-02-14
Fedora FEDORA-2008-0754 2008-03-13
SuSE SUSE-SR:2008:006 2008-03-14

Comments (none 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: integer overflow and off-by-one

Package(s):clamav CVE #(s):CVE-2007-6335 CVE-2007-6336
Created:December 19, 2007 Updated:February 13, 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

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:February 26, 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

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)

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:February 8, 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

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)

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:March 31, 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
Slackware SSA:2007-222-04 2007-08-13
Ubuntu USN-503-1 2007-08-24
Mandriva MDVSA-2007:047 2007-02-19
Debian DSA-1532-1 2008-03-27
Debian DSA-1534-1 2008-03-28
Debian DSA-1535-1 2008-03-30

Comments (none posted)

flash-plugin: lots of problems

Package(s):flash-plugin CVE #(s):CVE-2007-5275 CVE-2007-4324 CVE-2007-4768 CVE-2007-6242 CVE-2007-6243 CVE-2007-6244 CVE-2007-6245 CVE-2007-6246
Created:December 19, 2007 Updated:March 7, 2008
Description: A vast number of vulnerabilities exists in the proprietary Flash plugin for Firefox.
Alerts:
Red Hat RHSA-2007:1126-01 2007-12-18
SuSE SUSE-SA:2007:069 2007-12-21
Gentoo 200801-07:02 2008-01-20

Comments (3 posted)

gallery2: multiple vulnerabilities

Package(s):gallery2 CVE #(s):CVE-2007-6685 CVE-2007-6686 CVE-2007-6687 CVE-2007-6688 CVE-2007-6689 CVE-2007-6690 CVE-2007-6691 CVE-2007-6692 CVE-2007-6693
Created:December 27, 2007 Updated:February 12, 2008
Description: Versions of the Gallery photo management application before 2.2.4 have the following vulnerabilities: (1) an unauthorized album creation and file upload, (2) a local file inclusion vulnerability, (3) several cross site scripting vulnerabilities, (4) a web-accessibility protection problem, (5) problems with checks for disallowed file extensions with file uploads, (6) missing permissions checks on GR commands, (7) several information disclosures, (8) an arbitrary URL redirection problem and (9) a proxied request weakness.
Alerts:
Fedora FEDORA-2007-4777 2007-12-26
Fedora FEDORA-2007-4778 2007-12-26
Gentoo 200802-04 2008-02-11

Comments (none posted)

gcc: file overwrite vulnerability

Package(s):gcc CVE #(s):CVE-2006-3619
Created:September 6, 2006 Updated:March 14, 2008
Description: The fastjar utility found in the GNU compiler collection does not perform adequate file path checking, allowing the creation or overwriting of files outside of the current directory tree.
Alerts:
Debian DSA-1170-1 2006-09-06
Red Hat RHSA-2007:0220-02 2007-05-01
Red Hat RHSA-2007:0473-01 2007-06-11
Mandriva MDVSA-2008:066 2007-03-13

Comments (none posted)

gd: buffer overflow

Package(s):gd CVE #(s):CVE-2007-0455
Created:February 7, 2007 Updated:February 28, 2008
Description: The gd graphics library contains a buffer overflow which could enable a remote attacker to execute arbitrary code. Note that various other packages include code from gd and could also be vulnerable.
Alerts:
Mandriva MDKSA-2007:035 2006-02-06
Mandriva MDKSA-2007:036 2006-02-06
Mandriva MDKSA-2007:038 2006-02-06
rPath rPSA-2007-0028-1 2007-02-08
Fedora FEDORA-2007-149 2007-02-12
Fedora FEDORA-2007-150 2007-02-12
Trustix TSLSA-2007-0007 2007-02-13
OpenPKG OpenPKG-SA-2007.016 2007-05-18
Ubuntu USN-473-1 2007-06-11
Red Hat RHSA-2008:0146-01 2008-02-28

Comments (2 posted)

gd: multiple vulnerabilities

Package(s):gd CVE #(s):CVE-2007-3472 CVE-2007-3473 CVE-2007-3474 CVE-2007-3475 CVE-2007-3476 CVE-2007-3477 CVE-2007-3478
Created:August 6, 2007 Updated:February 28, 2008
Description: Integer overflow in gdImageCreateTrueColor function in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to have unspecified remote attack vectors and impact. (CVE-2007-3472)

The gdImageCreateXbm function in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of service (crash) via unspecified vectors involving a gdImageCreate failure. (CVE-2007-3473)

Multiple unspecified vulnerabilities in the GIF reader in the GD Graphics Library (libgd) before 2.0.35 allow user-assisted remote attackers to have unspecified attack vectors and impact. (CVE-2007-3474)

The GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of service (crash) via a GIF image that has no global color map. (CVE-2007-3475)

Array index error in gd_gif_in.c in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of service (crash and heap corruption) via large color index values in crafted image data, which results in a segmentation fault. (CVE-2007-3476)

The (a) imagearc and (b) imagefilledarc functions in GD Graphics Library (libgd) before 2.0.35 allows attackers to cause a denial of service (CPU consumption) via a large (1) start or (2) end angle degree value. (CVE-2007-3477)

Race condition in gdImageStringFTEx (gdft_draw_bitmap) in gdft.c in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of service (crash) via unspecified vectors, possibly involving truetype font (TTF) support. (CVE-2007-3478)

Alerts:
Mandriva MDKSA-2007:153 2007-08-03
Gentoo 200708-05 2007-08-09
Trustix TSLSA-2007-0024 2007-08-10
rPath rPSA-2007-0176-1 2007-09-05
Foresight FLEA-2007-0052-1 2007-09-06
Fedora FEDORA-2007-2055 2007-09-07
Fedora FEDORA-2007-692 2007-09-18
SuSE SUSE-SR:2007:015 2007-08-03
Red Hat RHSA-2008:0146-01 2008-02-28

Comments (none posted)

gd: denial of service

Package(s):gd CVE #(s):CVE-2007-2756
Created:June 14, 2007 Updated:February 28, 2008
Description: Libgd2 has a denial of service vulnerability involving the incorrect validation of PNG callback results. If an application that is linked against libgd2 is used to process a specially-crafted PNG file, a denial of service involving CPU resource consumption can be caused.
Alerts:
Mandriva MDKSA-2007:122 2007-06-13
Mandriva MDKSA-2007:123 2007-06-13
Mandriva MDKSA-2007:124 2007-06-13
SuSE SUSE-SR:2007:013 2007-06-22
Slackware SSA:2007-178-01 2007-06-27
Red Hat RHSA-2008:0146-01 2008-02-28

Comments (none posted)

gforge: cross-site scripting

Package(s):gforge CVE #(s):CVE-2007-0176
Created:January 28, 2008 Updated:January 30, 2008
Description:

From the NVD entry:

Cross-site scripting (XSS) vulnerability in search/advanced_search.php in GForge 4.5.11 allows remote attackers to inject arbitrary web script or HTML via the words parameter.

Alerts:
Debian DSA-1475-1 2008-01-26

Comments (none posted)

gimp: multiple vulnerabilities

Package(s):gimp CVE #(s):CVE-2007-2949
Created:June 28, 2007 Updated:February 27, 2008
Description: The gimp image editor has several vulnerabilities, including a problem where it can open PSD files with excessive dimensions and a possible stack overflow in the Sunras loader.
Alerts:
Fedora FEDORA-2007-0725 2007-06-27
Fedora FEDORA-2007-619 2007-06-27
Fedora FEDORA-2007-618 2007-06-27
Ubuntu USN-480-1 2007-07-04
rPath rPSA-2007-0138-1 2007-07-11
Fedora FEDORA-2007-1044 2007-07-12
Fedora FEDORA-2007-1099 2007-07-16
Debian DSA-1335-1 2007-07-18
Fedora FEDORA-2007-627 2007-07-16
Gentoo 200707-09 2007-07-25
Foresight FLEA-2007-0038-1 2007-08-01
Slackware SSA:2007-222-01 2007-08-13
Mandriva MDKSA-2007:170 2007-08-23
Red Hat RHSA-2007:0513-01 2007-09-26
SuSE SUSE-SR:2007:015 2007-08-03

Comments (none posted)

horde-kronolith: local file inclusion

Package(s):horde-kronolith CVE #(s):CVE-2006-6175
Created:January 17, 2007 Updated:March 7, 2008
Description: Kronolith contains a mistake in lib/FBView.php where a raw, unfiltered string is used instead of a sanitized string to view local files. An authenticated attacker could craft an HTTP GET request that uses directory traversal techniques to execute any file on the web server as PHP code, which could allow information disclosure or arbitrary code execution with the rights of the user running the PHP application (usually the webserver user).
Alerts:
Gentoo 200701-11 2007-01-16

Comments (none posted)

horde3: remote email deletion

Package(s):horde3 CVE #(s):CVE-2007-6018
Created:January 21, 2008 Updated:February 29, 2008
Description:

From the Debian advisory:

Ulf Harnhammer discovered that the HTML filter of the Horde web application framework performed insufficient input sanitising, which may lead to the deletion