Re: Directory Transversal
- From: jfvanmeter@xxxxxxxxxxx
- Date: Thu, 18 Oct 2007 11:02:14 +0000
Thank You Lee,
The application I'm testing, doesn't appear to be a "full blown" web server, but a service that allows a web browser to connect, and dynamicly creates a webpage for the browser to show the state of a process, so it does responds to GET commands.
It does have a root directory but not like a normal web server.
It also seams to have problems with spaces I tried %20 but that didn't seam to work so I ended up using PROGRA~1 for Program Files and DOCUME~1 for Documents and Settings and so on.
Take Care and Have Fun --John
-------------- Original message ----------------------
From: "Lee Lawson" <leejlawson@xxxxxxxxx>
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?ipc
onfig+/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@xxxxxxxxxxx <jfvanmeter@xxxxxxxxxxx> wrote:
command works on
Hello everyone, I'm in the middle of a test on a app that the following
http://mycomputer:port#/..//..//..//..//..//..//..//windows/win.inicontents of the file.
and it will prompt me to save the file, if i check my packet capture I see the
get some ideas from you all on things to try.
So far I've been unable to get a put or post command to work and was hoping to
comand
I've been trying to get nc/telnet and some other tools to help me with the put
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@xxxxxxxxx
"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 by Date: Re: Gartner's Security 3.0
- Next by Date: Re: Directory Transversal
- Previous by thread: Re: Directory Transversal
- Next by thread: RE: Directory Transversal
- Index(es):
Relevant Pages
|
|