openSUSE Security Update : lighttpd (openSUSE-SU-2014:0449-1)

high Nessus Plugin ID 75308

Synopsis

The remote openSUSE host is missing a security update.

Description

lighttpd was updated to version 1.4.35, fixing bugs and security issues :

CVE-2014-2323: SQL injection vulnerability in mod_mysql_vhost.c in lighttpd allowed remote attackers to execute arbitrary SQL commands via the host name, related to request_check_hostname.

CVE-2014-2323: Multiple directory traversal vulnerabilities in (1) mod_evhost and (2) mod_simple_vhost in lighttpd allowed remote attackers to read arbitrary files via a .. (dot dot) in the host name, related to request_check_hostname.

More information can be found on the lighttpd advisory page:
http://download.lighttpd.net/lighttpd/security/lighttpd_sa_2014_01.txt

Other changes :

- [network/ssl] fix build error if TLSEXT is disabled

- [mod_fastcgi] fix use after free (only triggered if fastcgi debug is active)

- [mod_rrdtool] fix invalid read (string not null terminated)

- [mod_dirlisting] fix memory leak if pcre fails

- [mod_fastcgi,mod_scgi] fix resource leaks on spawning backends

- [mod_magnet] fix memory leak

- add comments for switch fall throughs

- remove logical dead code

- [buffer] fix length check in buffer_is_equal_right_len

- fix resource leaks in error cases on config parsing and other initializations

- add force_assert() to enforce assertions as simple assert()s are disabled by -DNDEBUG (fixes #2546)

- [mod_cml_lua] fix NULL pointer dereference

- force assertion: setting FD_CLOEXEC must work (if available)

- [network] check return value of lseek()

- fix unchecked return values from stream_open/stat_cache_get_entry

- [mod_webdav] fix logic error in handling file creation error

- check length of unix domain socket filenames

- fix SQL injection / host name validation (thx Jann Horn) for all the changes see /usr/share/doc/packages/lighttpd/NEWS

Solution

Update the affected lighttpd packages.

See Also

http://download.lighttpd.net/lighttpd/security/lighttpd_sa_2014_01.txt

https://bugzilla.novell.com/show_bug.cgi?id=867350

https://lists.opensuse.org/opensuse-updates/2014-03/msg00094.html

Plugin Details

Severity: High

ID: 75308

File Name: openSUSE-2014-257.nasl

Version: 1.6

Type: local

Agent: unix

Published: 6/13/2014

Updated: 1/19/2021

Supported Sensors: Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:novell:opensuse:lighttpd-mod_webdav-debuginfo, p-cpe:/a:novell:opensuse:lighttpd-mod_cml-debuginfo, p-cpe:/a:novell:opensuse:lighttpd-mod_geoip-debuginfo, p-cpe:/a:novell:opensuse:lighttpd-mod_trigger_b4_dl-debuginfo, p-cpe:/a:novell:opensuse:lighttpd-mod_magnet-debuginfo, cpe:/o:novell:opensuse:13.1, p-cpe:/a:novell:opensuse:lighttpd, p-cpe:/a:novell:opensuse:lighttpd-debuginfo, cpe:/o:novell:opensuse:12.3, p-cpe:/a:novell:opensuse:lighttpd-mod_cml, p-cpe:/a:novell:opensuse:lighttpd-mod_mysql_vhost, p-cpe:/a:novell:opensuse:lighttpd-mod_rrdtool, p-cpe:/a:novell:opensuse:lighttpd-mod_magnet, p-cpe:/a:novell:opensuse:lighttpd-mod_trigger_b4_dl, p-cpe:/a:novell:opensuse:lighttpd-mod_mysql_vhost-debuginfo, p-cpe:/a:novell:opensuse:lighttpd-debugsource, p-cpe:/a:novell:opensuse:lighttpd-mod_webdav, p-cpe:/a:novell:opensuse:lighttpd-mod_rrdtool-debuginfo, p-cpe:/a:novell:opensuse:lighttpd-mod_geoip

Required KB Items: Host/local_checks_enabled, Host/SuSE/release, Host/SuSE/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 3/19/2014

Reference Information

CVE: CVE-2014-2323, CVE-2014-2324

BID: 66153, 66157