Exploit databaseDownload repository ZIP
GH-8164a02d6ad9ce3ac375957207efede6
caihuar/joomla-cve-2015-8562
Sources for CVE-2015-8562
8 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files7
caihuar/joomla-cve-2015-8562Revision 5a88a7226a99
- ↑..Parent directory
- default.php
- default.xml
- default_address.php
- default_articles.php
- default_form.php
- default_links.php
- default_profile.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
Joomla_CMS/components/com_contact/views/contact/tmpl/default_profile.php
PHP · 1,377 bytes<?php
/**
* @package Joomla.Site
* @subpackage com_contact
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<?php if (JPluginHelper::isEnabled('user', 'profile')) :
$fields = $this->item->profile->getFieldset('profile'); ?>
<div class="contact-profile" id="users-profile-custom">
<dl class="dl-horizontal">
<?php foreach ($fields as $profile) :
if ($profile->value) :
echo '<dt>' . $profile->label . '</dt>';
$profile->text = htmlspecialchars($profile->value, ENT_COMPAT, 'UTF-8');
switch ($profile->id) :
case "profile_website":
$v_http = substr($profile->value, 0, 4);
if ($v_http == "http") :
echo '<dd><a href="' . $profile->text . '">' . JStringPunycode::urlToUTF8($profile->text) . '</a></dd>';
else :
echo '<dd><a href="http://' . $profile->text . '">' . JStringPunycode::urlToUTF8($profile->text) . '</a></dd>';
endif;
break;
case "profile_dob":
echo '<dd>' . JHtml::_('date', $profile->text, JText::_('DATE_FORMAT_LC4'), false) . '</dd>';
break;
default:
echo '<dd>' . $profile->text . '</dd>';
break;
endswitch;
endif;
endforeach; ?>
</dl>
</div>
<?php endif; ?>