Juniper Networks
Solutions
Products & Services
Company
Partners
Support
Education

Signature Detail

Security Intelligence Center
Signatures
Print

Short Name

HTTP:REQERR:DOUBLE-ENCODE

Severity

Info

Recommended

No

Category

HTTP

Release Date

2003/04/22

Update Number

1213

Supported Platforms

idp-4.0+, isg-3.0+, j-series-9.5+, mx-9.4+, srx-9.2+, srx-branch-9.4+, vsrx-12.1+

HTTP: Double Encode


This protocol anomaly is an HTTP request with a double encoded URL. Attackers can encode the URL more than once to bypass security checks in the Microsoft IIS Web server. Multiple versions of IIS are vulnerable. Note: This can indicate the Nimda worm or one of its variants is attempting to enter your network. Note: This technique is being used recently by banner-ad servers to encode URLs.

Extended Description

Due to a flaw in the handling of CGI filename program requests, remote users can execute arbitrary commands on an IIS host. When IIS receives a CGI filename request, it automatically performs two actions before completing the request: 1. IIS decodes the filename to determine the filetype and the legitimacy of the file. IIS then carries out a security check. 2. When the security check is completed, IIS decodes CGI parameters. A flaw in IIS involves a third undocumented action: Typically, IIS decodes only the CGI parameter at this point, yet the previously decoded CGI filename is mistakenly decoded twice. If a malformed filename is submitted and circumvents the initial security check, the undocumented procedure will decode the malformed request, possibly allowing the execution of arbitrary commands. Note that arbitrary commands will be run with the IUSR_machinename account privileges. Reportedly, various encoding combinations under Windows 2000 Server and Professional may yield different outcomes. Personal Web Server 1.0 and 3.0 are reported vulnerable to this issue. The worm Nimda(and variants) actively exploit this vulnerability.

Affected Products

  • Microsoft IIS 3.0
  • Microsoft IIS 4.0
  • Microsoft IIS 5.0
  • Microsoft Personal Web Server 1.0
  • Microsoft Personal Web Server 3.0
  • Microsoft Windows NT 4.0 SP6a

References

  • BugTraq: 2708
  • CVE: CVE-2001-0333
  • URL: http://www.microsoft.com/technet/security/bulletin/MS01-026.asp

Site Map
RSS Feeds
Careers
Accessibility
Feedback
Privacy Policy
Legal Notices
Copyright © 1999-2010 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out