Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Exploits-HackingTools
[Top] [All Lists]

[UNIX] Apache HTTP Server mod_tcl set_var Format String

Subject: [UNIX] Apache HTTP Server mod_tcl set_var Format String
Date: 15 Oct 2006 09:23:19 +0200
The following security advisory is sent to the securiteam mailing list, and can 
be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  Apache HTTP Server mod_tcl set_var Format String
------------------------------------------------------------------------


SUMMARY

The  <http://tcl.apache.org/> mod_tcl module for the Apache httpd v2.x is 
a scripting module that allows a TCL developer to create server side 
script pages in TCL. It is available as a contrib package for several 
distributions. Remote exploitation of a format string vulnerability in the 
mod_tcl module for the Apache httpd v2.x could allow attackers to execute 
arbitrary code in the context of the httpd.

DETAILS

Vulnerable Systems:
 * mod_tcl version 1.0 for Apache 2.x

Immune Systems:
 * mod_tcl version 1.0.1 for Apache 2.x

Due to programmer error, user supplied data is passed as the format string 
specifier to several calls to an internally defined variable argument 
function. The function 'set_var' is declared as follows:
  mod_tcl.h:117:void set_var(Tcl_Interp *interp, char *var1,
                             char *var2, const char *fmt, ...);

Several insecure calls to this function are made through out the code, as 
seen below:

  tcl_cmds.c:437: set_var(interp, nm_var, (char*) key,
                                  (char*) val);
  tcl_cmds.c:2231: set_var(interp, nm_env, env[i],
                                          sptr + 1);
  tcl_core.c:650: set_var(interp, namespc,
                                                  vl[i].var2,
                                                  vl[i].var3);

Vendor response:
The Apache mod_tcl team have addressed this vulnerability with mod_tcl 
version 1.0.1. It is available from  <http://tcl.apache.org/mod_tcl/> 
http://tcl.apache.org/mod_tcl/

CVE Information:
 <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4154> 
CVE-2006-4154

Disclosure Timeline:
08/16/2006 - Initial vendor notification
10/11/2006 - Initial vendor response
10/13/2006 - Coordinated public disclosure


ADDITIONAL INFORMATION

The information has been provided by  
<mailto:idlabs-advisories@idefense.com> iDefense Labs Security Advisories.
The original article can be found at:  
<http://www.idefense.com/intelligence/vulnerabilities/> 
http://www.idefense.com/intelligence/vulnerabilities/



======================================== 


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: 
list-unsubscribe@securiteam.com 
In order to subscribe to the mailing list, simply forward this email to: 
list-subscribe@securiteam.com 


==================== 
==================== 

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any 
kind. 
In no event shall we be liable for any damages whatsoever including direct, 
indirect, incidental, consequential, loss of business profits or special 
damages. 




<Prev in Thread] Current Thread [Next in Thread>
  • [UNIX] Apache HTTP Server mod_tcl set_var Format String, SecuriTeam <=