ZDNet UK


Skip to Main Content

ZDNet.co.uk - Winner of Best Business Website 2007
  1. Home
  2. News
  3. Blogs
  4. Reviews
  5. Prices
  6. Resources
  7. Community
  8. My ZDNet

 

ZDNet UK RSS Feeds


Security threats Toolkit

Security expert warns of 'token kidnapping' threat

Tom Espiner ZDNet.co.uk

Published: 21 May 2008 15:33 BST

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

Hosting providers and IT professionals have been warned of a threat posed to Microsoft IIS web servers through exploitation of vulnerabilities in Microsoft operating systems.

The vulnerability, known as "token kidnapping", is a technique for the elevation of privileges on Windows operating systems. The proof-of-concept for the technique was developed by Cesar Cerrudo, chief executive of security company Argeniss. It exploits weaknesses that affect Windows Server 2003 and 2008, as well as Windows XP and Vista.

The technique works by elevating privileges through exploiting accounts on IIS servers that have rights to impersonate a client after authentication, Cerrudo told ZDNet.co.uk. Impersonation is the ability of a thread to execute using different security information than the process that owns the thread. The accounts can be exploited by "kidnapping" the token, an object that describes the security context of a process or thread.

"On Windows XP and Server 2003 it's possible to elevate privileges from any Windows account that has impersonation rights," wrote Cerrudo. "Usually Windows services and Internet Information Services websites have this privilege. This means that in these operating systems if a user can upload an ASP [active server pages] or ASP.NET web page and run it then the user can fully compromise the operating system."

While with Windows Vista and Windows Server 2008 it's only possible to elevate privileges from network service and local service Windows accounts, Cerrudo claimed that Windows services and Internet Information Services websites usually run under these accounts, leaving systems open to attack.

The vulnerabilities can be "easily exploited" said Cerrudo. To mitigate risks he said, ASP.NET should not be run in full-trust mode on IIS 6, and if ASP is enabled then users should not be allowed to execute binaries.

On IIS 7, ASP.NET should not be run in full-trust mode, while websites and services should not be run under network service or local service accounts. "It's preferable to use regular user accounts to run services and web sites," Cerrudo added.

Cerrudo presented a paper detailing "token kidnapping" at the Microsoft BlueHat security event earlier in May.

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

Did you find this article useful?
19 out of 19 people found this useful


Full Talkback thread

0 comments


Company/Topic Alerts

Create a new alert from the list below:







Sentry Posts Blog

Nasa and the virus

Yesterday the BBC ran a story about a computer virus making it into orbit, which I read with incredulity. OK, it's a nice silly season story on the surface, but what really got me was... More

3 comments

Customer data found on eBay server hig...

The recent news about customer details being retrieved from a server sold on eBay is yet another story about the sorry state of information security in the electronic age (see: http://news.zdnet.co.uk/...m).... More

Post a comment

Does it matter if you are an aardvark...

In spam terms, apparently it does. According to Cambridge University security expert Richard Clayton, if your email address is aardvark at animal.net, you are more likely to receive... More

1 comment