Inchoo Facebook Connect plugin suffers from a cross site scripting vulnerability.
5a0e026b50724d8c4897217a8c2acb1e
https://www.osisecurity.com.au/inchoo-facebook-connect-extension-for-magento-parameter-xss.html
Date:
04-Apr-2017
Product:
Inchoo Facebook Connect (Magento Plugin)
Vulnerability:
Reflected cross-site scripting.
Details:
Within ./app/code/community/Inchoo/Facebook/Block/Channel.php
return '<script src="'.($this->isSecure() ? 'https://' :
'http://').'connect.facebook.net/'.($this->getData('locale') ?
$this->getData('locale') : $this->getLocale()).'/all.js"></script>';
locale isn't escaped, so it is possible to submit <script> tags which
will be executed by the browser.
Disclosure timeline:
04-Jul-2014 - Reported to Magento vendor.
07-Jul-2014 - Reported to Inchoo developer. Plug-in no longer
maintained (superseded).
07-Aug-2014 - Patch released
https://github.com/ivanweiler/Inchoo_Facebook/commit/23a5e9e63fba1f44edae3e7cb971a0c0383941c9
04-Apr-2017 - Public disclosure.
Credit:
Discovered by Patrick Webster
About OSI Security:
OSI Security is an independent network and computer security auditing
and consulting company based in Sydney, Australia. We provide internal
and external penetration testing, vulnerability auditing and wireless
site audits, vendor product assessments, secure network design,
forensics and risk mitigation services.
We can be found at http://www.osisecurity.com.au/