Apache-SSL ExpandCert() Function Certificate Handling Arbitrary Environment Variables Manipulation

high Nessus Plugin ID 31738

Synopsis

The remote web server is prone to a memory disclosure / privilege escalation attack.

Description

According to its banner, the version of Apache-SSL running on the remote host is older than apache_1.3.41+ssl_1.59. Such versions fail to properly sanitize certificate data before using it to populate environment variables. By sending a client certificate with special characters for the subject, a remote attacker can overwrite certain environment variables used by the web server, resulting in memory disclosure or potential privilege escalation in a web application.

Solution

Upgrade to apache_1.3.41+ssl_1.59 or later.

See Also

https://www.cynops.de/advisories/CVE-2008-0555.txt

http://www.apache-ssl.org/advisory-cve-2008-0555.txt

https://seclists.org/bugtraq/2008/Apr/19

Plugin Details

Severity: High

ID: 31738

File Name: apache_ssl_env_var_manipulation.nasl

Version: 1.15

Type: remote

Family: Web Servers

Published: 4/3/2008

Updated: 11/15/2018

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

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

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.4

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

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

Vulnerability Information

CPE: cpe:/a:apache-ssl:apache-ssl

Required KB Items: installed_sw/Apache

Exploit Ease: No known exploits are available

Reference Information

CVE: CVE-2008-0555

BID: 28576

CWE: 20, 287

Secunia: 29644