Lucene search
K

Microsoft IIS 3.0/4.0/5.0 - PWS Escaped Characters Decoding Command Execution (7)

🗓️ 15 May 2001 00:00:00Reported by Gary O'Leary-SteeleType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 25 Views

Remote users can exploit IIS flaw to execute arbitrary commands via malformed CGI filename requests.

Code
source: https://www.securityfocus.com/bid/2708/info
      
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.

https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/20841.zip

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation