Apache Web Server Does Not Filter Terminal Escape Sequences From Log Files
|
|
SecurityTracker Alert ID: 1007557 |
|
SecurityTracker URL: http://securitytracker.com/id/1007557
|
|
CVE Reference:
CAN-2003-0083, CAN-2003-0020
(Links to External Site)
|
Updated: Dec 1 2003
|
Original Entry Date: Aug 22 2003
|
Impact:
Execution of arbitrary code via network
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): Prior to 1.3.25 and 2.0.46
|
Description:
A potential security issue was reported in the Apache web server. The server does not filter terminal escape sequences from the log files.
[Originally reported in April 2003]
It is reported that the Apache web server does not filter terminal escape sequences from the access logs (CVE: CAN-2003-0083) and error logs (CVE: CAN-2003-0020). A remote user can request a specially crafted URL to cause the web server to log malicious escape sequences to the log files. Then, if a target user views the log files with certain terminal applications, the escape sequences may be executed by the target user's terminal application.
|
Impact:
If a target user views the log files using certain terminal applications and a remote user has caused the server to log certain escape sequences, the terminal application may execute the escape sequences.
[Editor's note: This security weakness does not affect the Apache web server by itself or any software distributed with Apache. This security weakness is only an issue if certain terminal applications are used to view the log files.]
|
Solution:
The vendor released fixed versions (1.3.25 and 2.0.46), available at:
http://httpd.apache.org/
|
Vendor URL: httpd.apache.org/ (Links to External Site)
|
Cause:
Input validation error
|
Underlying OS:
Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
This archive entry has one or more follow-up message(s) listed below.
|
Source Message Contents
|
Date: Wed, 20 Aug 2003 12:19:30 -0400
Subject: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0083
|
09-APR-03 RHSA-2003:139-07
> Apache 2.0 does not filter terminal escape sequences from its access logs,
> which could make it easier for attackers to insert those sequences into
> terminal emulators containing vulnerabilities related to escape sequences.
>
> Apache does not filter terminal escape sequences from its error logs, which
> could make it easier for attackers to insert those sequences into terminal
> emulators containing vulnerabilities related to escape sequences.
CVE: CAN-2003-0083
Apache 1.3 before 1.3.25 and Apache 2.0 before version 2.0.46.
References
http://cvs.apache.org/viewcvs.cgi/apache-1.3/src/modules/standard/mod_log_config.c?only_with_tag=APACHE_1_3_25
http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/loggers/mod_log_config.c?only_with_tag=APACHE_2_0_BRANCH
|
|