Apache mod_wsgi < 3.5 Apache Process Privilege Escalation

Medium Nessus Plugin ID 76497

Synopsis

The remote web server module is affected by a privilege escalation vulnerability.

Description

According to the web server banner, the version of mod_wsgi running on the remote host is prior to version 3.5. It is, therefore, affected by a privilege escalation vulnerability.

The issue occurs due to the improper handling of error codes returned by 'setuid'. This flaw allows local attackers to manipulate the number of processes that are run by the user to affect the outcome of 'setuid' during the forking of daemon mode processes. This could allow the attacker to gain elevated privileges.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to mod_wsgi 3.5 or later.

See Also

http://www.nessus.org/u?16568048

Plugin Details

Severity: Medium

ID: 76497

File Name: mod_wsgi_3_5.nasl

Version: 1.6

Type: remote

Family: Web Servers

Published: 2014/07/14

Updated: 2018/11/15

Dependencies: 48204

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.2

Temporal Score: 4.6

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

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

CVSS v3.0

Base Score: 8.1

Temporal Score: 7.1

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:modwsgi:mod_wsgi

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2014/05/21

Vulnerability Publication Date: 2014/05/21

Reference Information

CVE: CVE-2014-0240

BID: 67532