A Cross-Site Scripting vulnerability was found in the Huge IT Portfolio Gallery WordPress Plugin. This issue allows an attacker to perform a wide variety of actions, such as stealing Administrators' session tokens, or performing arbitrary actions on their behalf. In order to exploit this issue, the attacker has to lure/force a logged on WordPress Administrator into opening a malicious website.
For feedback or questions about this advisory mail us at sumofpwn at securify.nl
This issue has been found during the Summer of Pwnage hacker event, running from July 1-29. A community summer event in which a large group of security bughunters (worldwide) collaborate in a month of security research on Open Source Software (WordPress this time). For fun. The event is hosted by Securify in Amsterdam.
This issue was successfully tested on Portfolio Gallery version 2.0.77.
The issue is fixed in Portfolio Gallery version 2.1.11.
Portfolio Gallery is a great plugin for adding specialized portfolio gallery, video portfolio gallery of just a gallery with single images.A Cross-Site Scripting vulnerability was found in the Huge IT Portfolio WordPress Plugin. This issue allows an attacker to perform a wide variety of actions, such as stealing Administrators' session tokens, or performing arbitrary actions on their behalf.
A Reflected Cross-Site Scripting vulnerability exists in the Huge IT Portfolio Gallery WordPress plugin. This vulnerability allows an attacker to perform any action with the privileges of the admin user. The affected code is not protected with an anti-Cross-Site Request Forgery token. Consequently, it can be exploited by luring the target user into clicking a specially crafted link or visiting a malicious website (or advertisement).
The vulnerability exists in the file .portfolio-gallery/admin/portfolios_views.php (line 804):
<a href="admin.php?page=portfolios_huge_it_portfolio&task=portfolio_video&id=<?php echo $_GET['id']; ?>&TB_iframe=1"
class="button button-primary add-video-slide thickbox" id="slideup3s" value="iframepop">
The vulnerability can be exploited using a specially crafted ajaxurl URL parameter. In order to exploit this issue the target user must click a specially crafted link or visit a malicious website (or advertisement).