Feeds

Microsoft IIS6 bug exposes sensitive files sans password

Server pilfering made easy

Securing Web Applications Made Simple and Scalable

Security experts are urging administrators using Microsoft's Internet Information Services version 6 to exercise extreme care following the discovery that the popular web server is vulnerable to a simple attack that exposes password-protected files and folders.

The vulnerability resides in the part of IIS6 that processes commands based on the WebDAV protocol. By adding several unicode characters to a web address, attackers can access sensitive files that are supposed to be available only with a system password. What's more, the flaw can also be used to upload malicious files to protected parts of the server, according to Nikolaos Rangos, a security researcher who published his findings on Friday.

"The web server fails to properly handle unicode tokens when parsing the URI and sending back data," his advisory warns. It goes on to show how several GET requests can give outsiders easy access to vulnerable systems.

The US Computer Emergency Readiness Team is already seeing "active exploitation" of the bug. The group is advising that WebDAV be temporarily disabled until things can be sorted out. The vulnerabilities are present in version 6 of IIS only, and WebDAV is not enabled by default.

Members of Microsoft's security team are looking into the report, a spokesman said Monday morning. "We’re currently unaware of any attacks trying to use the claimed vulnerability or of customer impact," he wrote in an email.

According to the advisory, the following four strings are all that's needed to access a theoretical password-protected file called protected.zip in a restricted folder called protected:

GET /..%c0%af/protected/protected.zip HTTP/1.1 Translate: f Connection: close Host: servername

The unicode character "%c0%af" is in essence converted to a "/" (or slash). The additional commands in turn prompt IIS6 to interpret the string as a valid file path. The web server dutifully responds by sending the attacker the file without first asking for authentication.

The attack can also be used to list, access, or upload files in a password-protected WebDAV folder, according to Rangos's advisory. Secunia rates the bug "moderately critical," the third-highest rating on its five-tier severity scale.

The report is oddly reminiscent of a directory traversal bug that plagued IIS in 2001. It happened because subroutines in IIS 4 and 5 for checking the security of user-supplied input happened before it was converted from unicode to ascii. That enabled data disclosure and denial-of-service attacks. ®

The smart choice: opportunity from uncertainty

More from The Register

next story
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
How long is too long to wait for a security fix?
Synology finally patches OpenSSL bugs in Trevor's NAS
Don't look, Snowden: Security biz chases Tails with zero-day flaws alert
Exodus vows not to sell secrets of whistleblower's favorite OS
Roll out the welcome mat to hackers and crackers
Security chap pens guide to bug bounty programs that won't fail like Yahoo!'s
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Researcher sat on critical IE bugs for THREE YEARS
VUPEN waited for Pwn2Own cash while IE's sandbox leaked
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.