mod_ntlm for Apache 1.3.x and mod_ntlm for Apache
2.0 both contain vulnerabilities in the code that handles
error logging when 'LOG' is defined. Before calling
ap_log_rerror, the input format string is formatted into a
fixed length buffer. If any of the user-controlled format
data exceed this length, httpd will segfault during free
(3). This is because Memory management structures
have been overwritten, and the libc is writing to
undefined addresses. By carefully exploiting this
vulnerability, an attacker could overwrite arbitrary
addresses with data of his/her choosing. A second
vulnerability exists in the call to ap_log_rerror(). The
string argument to ap_log_rerror is not a pre-formatted
buffer, but a format string. So, if any format characters
exist in the data passed to ap_log_rerror as a result of
this pre-formatting, they will be parsed by the
procedure, resulting in code execution if the string is
carefully designed. This error could also cause a
segfault in the httpd child process.
Matthew Murphy
Security Consultant
http://www.techie.hopto.org
E-mail: mattmurphy@kc.rr.com
Nobody/Anonymous
None
None
Public
|
Date: 2004-06-04 16:13 Logged In: YES |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use