[prev in list] [next in list] [prev in thread] [next in thread] 

List:       full-disclosure
Subject:    [Full-disclosure] Directory traversal vulnerabilities in jsupload.cgi.pl version 0.6.4 and before
From:       Sean de Regge <seanderegge () gmail ! com>
Date:       2012-11-29 21:42:15
Message-ID: CAEyzbH-=jMKw8ZZAtLuRzMw3cd_=fBceF2Cd+TKOMi9=L21FxQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


-------------------------------------------------------------------------------------------------------------
Directory traversal vulnerabilities in jsupload.cgi.pl version 0.6.4 and
before
29 November 2012
Sean de Regge (seanderegge gmail.com)
-------------------------------------------------------------------------------------------------------------

Details:
----------
Versions of the Perl script jsupload.cgi.pl prior to version number 0.6.4
are vulnerable to directory traversal attacks.
The script allows a remote user to upload a file to the "/tmp/uploader"
directory. However, by adding the characters ../ when supplying a filename
it is possible to break out of the directory and write to other
directories on the system.

A similar vulnerability exists in the code that allows a user to download
files from the "/tmp/uploader" directory.

A detailed writup of this vulnerability can be found at www.pwnani.com.

Recommendation:
-------------------------
The latest version of the script includes a patch for these vulnerabilities
and can be found at:

http://code.google.com/p/gwtupload/source/browse/jsupload/src/main/java/jsupload/public/jsupload.cgi.pl

[Attachment #5 (text/html)]

<div>-------------------------------------------------------------------------------------------------------------</div><div>Directory \
traversal vulnerabilities in <a href="http://jsupload.cgi.pl">jsupload.cgi.pl</a> version 0.6.4 \
and before</div> <div>29 November 2012</div><div>Sean de Regge (seanderegge <a \
href="http://gmail.com">gmail.com</a>)</div><div>-------------------------------------------------------------------------------------------------------------</div>
 <div><br></div><div>Details:</div><div>----------</div><div>Versions of the Perl script <a \
href="http://jsupload.cgi.pl">jsupload.cgi.pl</a> prior to version number 0.6.4 are vulnerable \
to directory traversal attacks.</div> <div>The script allows a remote user to upload a file to \
the &quot;/tmp/uploader&quot; directory. However, by adding the characters ../ when supplying a \
filename it is possible to break out of the directory and write to other </div> \
<div>directories on the system.</div><div><br></div><div>A similar vulnerability exists in the \
code that allows a user to download files from the &quot;/tmp/uploader&quot; directory. \
</div><div><br></div><div>A detailed writup of this vulnerability can be found at <a \
href="http://www.pwnani.com">www.pwnani.com</a>.</div> \
<div><br></div><div>Recommendation:</div><div>-------------------------</div><div>The latest \
version of the script includes a patch for these vulnerabilities and can be found \
at:</div><div><br></div><div><a \
href="http://code.google.com/p/gwtupload/source/browse/jsupload/src/main/java/jsupload/public/js \
upload.cgi.pl">http://code.google.com/p/gwtupload/source/browse/jsupload/src/main/java/jsupload/public/jsupload.cgi.pl</a></div>




_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic