Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Home Cybersecurity
    • Cybersecurity

    Malicious URL Problem Has Solutions

    Written by

    Larry Seltzer
    Published May 27, 2003
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      Many years ago, I saw Timothy Berners-Lee, father of the World Wide Web, speak at a conference. His message was that URLs users could decipher were a bad ideal; Web applications should employ URLs that are deliberately complex, black boxes for which only the Web server has a key. I dont recall the specific reasoning behind Berners-Lees position, but I believe he wanted to ensure that the programmer could control the user experience.

      I can see a security reason for such a move as well: Apart from exposing the underlying logic of the Web application in a way that invites exploits like SQL injection, easily apprehended URLs facilitate attacks based on legal but malicious HTTP requests designed to break the server. Many exploits on many Web servers, but most often IIS, have been based on URLs that were technically legal but employed buffer overflows or similar techniques.

      There are tools to prevent many of these attacks by constraining the types and parameters of requests made to the server. The most famous is Microsofts UrlScan, an add-on that almost every IIS administrator should be running. UrlScan is also part of the IIS Lockdown Tool. Microsoft recently issued a small improvement to UrlScan 2.5: It no longer needs to be installed as an upgrade over UrlScan 2.0 but employs its own installer.

      UrlScan blocks requests such as very long URLs; attempts to run .exe files on the server (an old NIMDA trick); URLs with binary data in them; and use of multiply denormalized URLs (links such as http://%f0%80%80%af/, which must be decoded more than once). It can also log the requests. Ive been running UrlScan for a while, and every once in a while I check my logs to see the evil things people try to do to my servers. Sometimes I also find coding errors on my part, such as links I put in my own pages with illegal characters (such as using a “” instead of a “/” in a link).

      Even if they are unpatched, many of the most famous vulnerabilities in IIS can be rendered moot by the generic good-linking rules in UrlScan. For instance, you may remember a base Windows vulnerabiity that was originally reported in mid-March as an IIS hole. Since the original vector to this attack was through WebDAV, that specific vector itself remained an important vulnerability. I read reports (never confirmed or disproven) that UrlScan also prevented this specific attack because the WebDAV vector relied on a buffer overflow and therefore required very long URLs. And remember that these attack URLs can attack flaws not just in IIS but in your own applications.

      Apache users have the mod_rewrite module, which can perform these tasks and a great deal more. Unfortunately, its a general-purpose programmable URL-manipulation package, not a canned security tool like UrlScan, and even the mod_rewrite author thinks its hard to use. There is a Rewrite Guide that has lots of help and more info on modrewrite.com. I expected to find a canned set of mod_rewrite rules to perform tasks like UrlScans, but I didnt. If someone knows of such a thing, let me know.

      Why did Microsoft feel it necessary to keep UrlScan as a separate program? Partly because it can block requests that are technically legal, and it can block features (like the Server header) that some users consider an unnecessary exposure of system internals but on which some applications rely (such as Macromedias Cold Fusion in the Server Header case). But mostly its because UrlScan 1.0 came out after Windows 2000 was released, as one of many stopgap measures to plug the holes in that servers security.

      Most of the hard lessons about Web server security that Microsoft learned, it learned after Windows 2000 came out. Windows 2003 Servers IIS Version 6 is a complete rewrite with security features generally far more powerful than those in UrlScan. There are a few features IIS 6 doesnt implement because the developers felt there was no benefit, so some administrators will still run it with Windows 2003.

      Im curious to hear your impressions of UrlScan. From what Ive seen, Web sites that dont run it dont usually have a good reason not to, and they expose themselves to unnecessary attacks as a result. Why arent you running it? Let me know.

      Security Supersite Editor Larry Seltzer has worked in and written about the computer industry since 1983.

      Larry Seltzer
      Larry Seltzer
      Larry Seltzer has been writing software for and English about computers ever since—,much to his own amazement— He was one of the authors of NPL and NPL-R, fourth-generation languages for microcomputers by the now-defunct DeskTop Software Corporation. (Larry is sad to find absolutely no hits on any of these +products on Google.) His work at Desktop Software included programming the UCSD p-System, a virtual machine-based operating system with portable binaries that pre-dated Java by more than 10 years.For several years, he wrote corporate software for Mathematica Policy Research (they're still in business!) and Chase Econometrics (not so lucky) before being forcibly thrown into the consulting market. He bummed around the Philadelphia consulting and contract-programming scenes for a year or two before taking a job at NSTL (National Software Testing Labs) developing product tests and managing contract testing for the computer industry, governments and publication.In 1991 Larry moved to Massachusetts to become Technical Director of PC Week Labs (now eWeek Labs). He moved within Ziff Davis to New York in 1994 to run testing at Windows Sources. In 1995, he became Technical Director for Internet product testing at PC Magazine and stayed there till 1998.Since then, he has been writing for numerous other publications, including Fortune Small Business, Windows 2000 Magazine (now Windows and .NET Magazine), ZDNet and Sam Whitmore's Media Survey.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×