-
-
[转帖]Visitors Google Map Lite 1.0.1 (FREE) module mod_visitorsgooglemap SQL Injection
-
发表于: 2010-9-10 14:07 2509
-
[转帖]Visitors Google Map Lite 1.0.1 (FREE) module mod_visitorsgooglemap SQL Injection
2010-9-10 14:07
2509
-------------------------------------------------------------------------------------
Affected software description
Application : Visitors Google Map Lite 1.0.1 (FREE) (module:mod_visitorsgooglemap)
Developer : Serdar Gökkus
Compatibility : Joomla 1.5 Native
License : GPLv2 or later
Date Added : Sunday August 29, 2010 01:14:14
Download : 0d1K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4N6%4N6#2)9J5k6h3y4G2L8h3I4S2L8Y4c8A6M7#2)9J5k6h3y4G2L8g2)9J5c8X3c8G2N6$3&6D9L8$3q4V1i4K6u0r3k6r3!0U0i4K6g2X3k6r3!0%4L8X3I4G2j5h3c8Q4x3V1j5J5i4K6u0V1N6X3W2K6K9i4c8G2M7Y4y4Q4x3X3c8Y4L8$3!0Y4L8r3g2Q4x3X3c8E0j5i4m8Q4x3X3c8D9K9i4c8W2i4K6u0V1x3e0l9I4i4K6u0V1k6Y4u0W2k6g2)9J5k6h3S2@1L8h3H3`.
I. BACKGROUND
This extension tracks visitors of your site in real time and displays their
locations in Google Map. It uses three main technologies:
- Map API of Google
- AJAX
- IP geolocation API of IPInfoDB
Content of VisitorsGoogeMap Package:
This extension contains one Joomla Compoment and two Joomla Modules.
com_visitorsgooglemap: This component is responsible for the creation
database table during installation and remove
it clearly in case of uninstallation.
mod_visitorsgooglemap: This module is responsible for the display of
Google Map in desired module position in your
template and track the visitors of your Joomla
page in the map.
mod_visitorsgooglemap_agent: This module is responsible for the updating
visitors information in the database.
II. DESCRIPTION
Some sql injecton vulnerabilities exist in mod_visitorsgooglemap module .
III. ANALYSIS
The bug is in the following files, specifying the lines
/mod_visitorsgooglemap/map_data.php
[16] [if ($_GET['action'] == 'listpoints')
[17] {
[18] $lastMarkerID = $_GET['lastMarkerID'];
[19] ini_set('default_mimetype','text/xml'); // manchmal notwendig
[20] header ('Content-Type: text/xml'); // reicht nicht immer
[21] echo '<?xml version="1.0" ?>';
[22] echo '<xmlresponse>';
[23] $database =& JFactory::getDBO();
[24] $query = "SELECT * FROM #__visitorsgooglemap_location where id > $lastMarkerID order by id";
Explanation:As noted in the line [24] $ lastMarkerID
nowhere is filtered, which result in a query pede unexpected
IV. EXPLOITATION
e68K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4y4A6N6r3g2Q4x3V1k6H3j5i4c8Z5i4K6u0r3L8h3!0V1N6h3I4W2M7#2)9J5c8X3#2G2k6q4)9#2k6Y4k6A6M7$3W2@1L8%4u0K6k6$3!0G2k6$3I4W2L8h3q4H3i4K6u0r3L8h3q4H3i4K6g2X3k6r3q4@1j5g2)9J5k6i4m8Z5M7q4)9K6c8X3q4U0N6r3W2G2L8W2)9K6c8r3I4A6M7%4c8H3L8$3W2F1N6s2y4Q4x3U0k6D9j5i4y4@1e0h3q4J5K9$3g2J5d9f1c8Q4x3@1b7H3i4K6N6n7M7%4q4D9i4K6N6p5
+++++++++++++++++++++++++++++++++++++++
[!] Produced in South America
+++++++++++++++++++++++++++++++++++++++
Affected software description
Application : Visitors Google Map Lite 1.0.1 (FREE) (module:mod_visitorsgooglemap)
Developer : Serdar Gökkus
Compatibility : Joomla 1.5 Native
License : GPLv2 or later
Date Added : Sunday August 29, 2010 01:14:14
Download : 0d1K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4N6%4N6#2)9J5k6h3y4G2L8h3I4S2L8Y4c8A6M7#2)9J5k6h3y4G2L8g2)9J5c8X3c8G2N6$3&6D9L8$3q4V1i4K6u0r3k6r3!0U0i4K6g2X3k6r3!0%4L8X3I4G2j5h3c8Q4x3V1j5J5i4K6u0V1N6X3W2K6K9i4c8G2M7Y4y4Q4x3X3c8Y4L8$3!0Y4L8r3g2Q4x3X3c8E0j5i4m8Q4x3X3c8D9K9i4c8W2i4K6u0V1x3e0l9I4i4K6u0V1k6Y4u0W2k6g2)9J5k6h3S2@1L8h3H3`.
I. BACKGROUND
This extension tracks visitors of your site in real time and displays their
locations in Google Map. It uses three main technologies:
- Map API of Google
- AJAX
- IP geolocation API of IPInfoDB
Content of VisitorsGoogeMap Package:
This extension contains one Joomla Compoment and two Joomla Modules.
com_visitorsgooglemap: This component is responsible for the creation
database table during installation and remove
it clearly in case of uninstallation.
mod_visitorsgooglemap: This module is responsible for the display of
Google Map in desired module position in your
template and track the visitors of your Joomla
page in the map.
mod_visitorsgooglemap_agent: This module is responsible for the updating
visitors information in the database.
II. DESCRIPTION
Some sql injecton vulnerabilities exist in mod_visitorsgooglemap module .
III. ANALYSIS
The bug is in the following files, specifying the lines
/mod_visitorsgooglemap/map_data.php
[16] [if ($_GET['action'] == 'listpoints')
[17] {
[18] $lastMarkerID = $_GET['lastMarkerID'];
[19] ini_set('default_mimetype','text/xml'); // manchmal notwendig
[20] header ('Content-Type: text/xml'); // reicht nicht immer
[21] echo '<?xml version="1.0" ?>';
[22] echo '<xmlresponse>';
[23] $database =& JFactory::getDBO();
[24] $query = "SELECT * FROM #__visitorsgooglemap_location where id > $lastMarkerID order by id";
Explanation:As noted in the line [24] $ lastMarkerID
nowhere is filtered, which result in a query pede unexpected
IV. EXPLOITATION
e68K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4y4A6N6r3g2Q4x3V1k6H3j5i4c8Z5i4K6u0r3L8h3!0V1N6h3I4W2M7#2)9J5c8X3#2G2k6q4)9#2k6Y4k6A6M7$3W2@1L8%4u0K6k6$3!0G2k6$3I4W2L8h3q4H3i4K6u0r3L8h3q4H3i4K6g2X3k6r3q4@1j5g2)9J5k6i4m8Z5M7q4)9K6c8X3q4U0N6r3W2G2L8W2)9K6c8r3I4A6M7%4c8H3L8$3W2F1N6s2y4Q4x3U0k6D9j5i4y4@1e0h3q4J5K9$3g2J5d9f1c8Q4x3@1b7H3i4K6N6n7M7%4q4D9i4K6N6p5
+++++++++++++++++++++++++++++++++++++++
[!] Produced in South America
+++++++++++++++++++++++++++++++++++++++
赞赏
他的文章
赞赏
雪币:
留言: