[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Perl script jsupload.cgi.pl 0.6.4 Directory Traversal

Author
Sean de Regge
Risk
[
Security Risk Medium
]
0day-ID
0day-ID-19839
Category
remote exploits
Date add
30-11-2012
Platform
perl
-------------------------------------------------------------------------------------------------------------
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

#  0day.today [2024-11-16]  #