SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   mmgallery Vendors:   mmgallery.net
mmgallery Input Validation Hole in 'thumbs.php' Permits Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1017283
SecurityTracker URL:  http://securitytracker.com/id/1017283
CVE Reference:   CVE-2006-6118, CVE-2006-6119   (Links to External Site)
Updated:  May 27 2008
Original Entry Date:  Nov 24 2006
Impact:   Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
Exploit Included:  Yes  
Version(s): 1.55
Description:   A vulnerability was reported in mmgallery. A remote user can conduct cross-site scripting attacks.

The 'thumbs.php' script does not properly filter HTML code from user-supplied input in the 'page' parameter before displaying the input. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the mmgallery software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A demonstration exploit URL is provided:

http://[target]/thumbs.php?page='>

A remote user can also load the following type of URL to cause the system to disclose the installation path:

http://[target]/thumbs.php

Al7ejaz HackerZ discovered this vulnerability.

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the mmgallery software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A remote user can also determine the installation path.

Solution:   No solution was available at the time of this entry.
Vendor URL:  www.mmgallery.net/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  mmgallery Multiple vulnerabilities

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+                                                                                 ;;ii,,:: +           
+                                                 ::::            ::              ;;tt;;::           + 
+                                                 ;;::          ..,,::            ;;ii,,::           + 
+                           ,,,,                ii;;,,          ii;;::            ;;ii,,::           + 
+                           ii::                tt;;,,        ..tt;;,,..          ;;ii;;::           + 
+                         ii,,::                ttii,,        ..ff;;;;::          ;;ii;;::           + 
+                         tt;;::..,,            tt;;,,          ff;;;;ii          ;;ii,,::           + 
+                         tt;;::;;::            tt;;,,..        jj;;,,..          ;;tt,,::           + 
+                         tt;;;;,,              tt;;,,..        tt;;;;            ;;ii;;::           + 
+                     ..::,,;;,,                tt;;,,..        tt;;,,            ;;ii,,::           + 
+                 ..::,,ii;;;;..                tt;;,,..        iiii,,::          ;;ii,,::           + 
+               ::,,ttiijj;;,,                  tt;;;;..        ;;tt,,::          ;;ii,,::           + 
+             ,,;;ii    tt;;,,                  ii;;,,..        ..jj;;::          ;;ii;;::           + 
+           ;;;;::      tt;;::                  tt;;;;..          ff;;::          ;;tt,,..           + 
+         ii;;..      ,,ii;;::                  ii;;,,..          jj;;,,          ;;ii,,..           + 
+       ,,;;,,      ::;;;;;;::                  ii;;;;..          tt;;,,          ;;ii;;..           + 
+       tt;;::::  ::,,;;jj,,::                  tt;;,,..          tt;;,,          ;;ii,,..           + 
+       jj;;;;,,,,,,iiiiii;;::                ..tt;;,,::          iiii,,          ;;ii,,..           + 
+       ;;ffjjttjjttii  ii;;::                ii;;;;;;::          ..jj,,          ;;ii;;..           + 
+           ..;;..      ii;;,,::            ,,;;;;jj;;,,          ..jj,,          ;;ii,,..           + 
+                       iiii;;,,::::....::,,,,;;,,jj;;;;,,::    ::,,;;,,          ;;ii;;             + 
+                       ..ff;;;;;;,,,,::,,;;;;;;  ttii;;;;,,,,,,,,;;;;::          ;;ii,,             + 
+                         jjii;;;;;;;;;;;;;;ii..  ..ff;;;;;;;;;;;;;;;;            ;;ii,,             + 
+                           jjjj;;;;ii;;;;tt..      iijj;;;;;;;;;;ii::            ;;ii::             + 
+                             iijjjjjjtt;;            ;;ffffjjjjtt::              ;;ii               + 
+                                                           ;;..                  ii;;               + 
+                                                                                 ..       + 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+                                                                                                 + 
Credit by : Al7ejaz HackerZ 
mmgallery Multiple vulnerabilities 
Script : mmgallery 
Website: mmgallery.net 
Impact : FullPath disclosure and Cross site Scripting 
FullPath disclosure in thumbs.php 
********************************* 
when thumbs.php file is called directelly withowth argument this cause fullpath disclosure 
http://localhost/thumbs.php 
Result 
------------------------------------------------------------------------ 
Warning: readdir(): supplied argument is not a valid Directory resource in /var/www/photos/functions.inc on line 46 
Warning: closedir(): supplied argument is not a valid Directory resource in /var/www/user/functions.inc on line 58 
Galery :: Title ::   
Warning: opendir(.//thumbs) [function.opendir]: failed to open dir: No such file or directory in /var/www/user/functions.inc on line
 99 
Warning: readdir(): supplied argument is not a valid Directory resource in /var/www/user/functions.inc on line 101 
Warning: sort() expects parameter 1 to be array, null given in /var/www/user/functions.inc on line 112 
Warning: closedir(): supplied argument is not a valid Directory resource in /var/www/user/functions.inc on line 113 
-------------------------------------------- 
Cross Site Scripting 
************************ 
page varibale is not proprely verified and can be used to execute arbitary htmlcode 
http://localhost/thumbs.php?page='> 
Al7ejaz HackerZ  ;) 
/Milw0rm

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC