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 Pen-Test
[Top] [All Lists]

Re: Directory Transversal

Subject: Re: Directory Transversal
Date: Thu, 18 Oct 2007 11:32:02 +0100
you will only be able to get the PUT command to work on directories
that the web server service has write permissions on.

What you might be able to try is the following on something like the
IE6 browser.

http://mycomputer:port#/..//..//..//..//..//..//..//windows/system32/cmd.exe?ipconfig+/all+>+/windows/inetpub/wwwroot/ipconfig.txt

This will attempt to pass a command to the cmd.exe program and execute
ipconfig /all, the result of which will be placed into a text file in
the windows/inetpub/wwwroot/ directory so you can web browse to it.
You can then try other things with cmd.exe, be imaginative.

This is a very old vulnerability and may not work properly, but if you
can see the contents of win.ini, then there is a good chance.  I'm
actually a little surprised that the double forward slash is working
and that you have not had to replace it with unicode etc.

al the best,

lee lawson

On 10/17/07, jfvanmeter@comcast.net <jfvanmeter@comcast.net> wrote:

 Hello everyone, I'm in the middle of a test on a app that the following 
command works on
http://mycomputer:port#/..//..//..//..//..//..//..//windows/win.ini
and it will prompt me to save the file, if i check my packet capture I see 
the contents of the file.

So far I've been unable to get a put or post command to work and was hoping 
to get some ideas from you all on things to try.

I've been trying to get nc/telnet and some other tools to help me with the 
put comand

Thanks in advance --John

------------------------------------------------------------------------
This list is sponsored by: Cenzic

Need to secure your web apps NOW?
Cenzic finds more, "real" vulnerabilities fast.
Click to try it, buy it or download a solution FREE today!

http://www.cenzic.com/downloads
------------------------------------------------------------------------




-- 
Lee J Lawson
leejlawson@gmail.com

"Give a man a fire, and he'll be warm for a day; set a man on fire,
and he'll be warm for the rest of his life."

"Quidquid latine dictum sit, altum sonatur."

------------------------------------------------------------------------
This list is sponsored by: Cenzic

Need to secure your web apps NOW?
Cenzic finds more, "real" vulnerabilities fast.
Click to try it, buy it or download a solution FREE today!

http://www.cenzic.com/downloads
------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>