GLSA-201412-21 : mod_wsgi: Privilege escalation

high Nessus Plugin ID 79974
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201412-21 (mod_wsgi: Privilege escalation)

Two vulnerabilities have been found in mod_wsgi:
Error codes returned by setuid are not properly handled (CVE-2014-0240) A memory leak exists via the “Content-Type” header (CVE-2014-0242) Impact :

A local attacker may be able to gain escalated privileges. Furthermore, a remote attacker may be able to obtain sensitive information.
Workaround :

There is no known workaround at this time.

Solution

All mod_wsgi users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=www-apache/mod_wsgi-3.5'

See Also

https://security.gentoo.org/glsa/201412-21

Plugin Details

Severity: High

ID: 79974

File Name: gentoo_GLSA-201412-21.nasl

Version: 1.7

Type: local

Published: 12/15/2014

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 4.6

Vector: AV:L/AC:H/Au:N/C:C/I:C/A:C

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:mod_wsgi, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 12/13/2014

Vulnerability Publication Date: 5/27/2014

Reference Information

CVE: CVE-2014-0240, CVE-2014-0242

BID: 67532, 67534

GLSA: 201412-21