Apache vulnerable to buffer overflow when expanding environment variables

2004-09-17T00:00:00
ID VU:481998
Type cert
Reporter CERT
Modified 2004-09-17T20:09:00

Description

Overview

There is a buffer overflow vulnerability in ap_resolve_env() function of Apache that could allow a local user to gain elevated privileges.

Description

The Apache HTTP Server is a freely available web server that runs on a variety of operating systems including Unix, Linux, and Microsoft Windows. The ap_resolve_env() function is responsible for expanding environment variables when parsing configurations files such as .htaccess or httpd.conf. There is a vulnerability in this function that could allow a local user to trigger a buffer overflow.

The Apache Software Foundation notes that in order to exploit this vulnerability, a local user would need to install the malicious configuration file on the server and force the server to parse this file.


Impact

A local user with the ability to force a vulnerable to server to parse a malicious configuration file could gain elevated privileges.


Solution

Upgrade or Apply Patch
Upgrade or apply patch as specified by your vendor. This issue is resolved in Apache version 2.0.51.


Vendor Information

481998

Filter by status: All Affected Not Affected Unknown

Filter by content: __ Vendor has issued information

__ Sort by: Status Alphabetical

Expand all

Javascript is disabled. Click here to view vendors.

Apache Affected

Updated: September 17, 2004

Status

Affected

Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

Please refer to the Apache Security Announcement.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

CVSS Metrics

Group | Score | Vector
---|---|---
Base | |
Temporal | |
Environmental | |

References

  • <http://www.apache.org/dist/httpd/Announcement2.html>
  • <http://www.uniras.gov.uk/vuls/2004/403518/index.htm>
  • <http://secunia.com/advisories/12540/>
  • <http://www.securitytracker.com/alerts/2004/Sep/1011303.html>
  • <http://rhn.redhat.com/errata/RHSA-2004-463.html>

Acknowledgements

This vulnerability was reported by the Swedish IT Incident Centre within the National Post and Telecom Agency (SITIC).

This document was written by Damon Morda.

Other Information

CVE IDs: | CVE-2004-0747
---|---
Severity Metric: | 3.38
Date Public: | 2004-09-15
Date First Published: | 2004-09-17
Date Last Updated: | 2004-09-17 20:09 UTC
Document Revision: | 11