Long URL's cause a the 4.8 Agent for IIS 7 to crash
3 years ago
Originally Published: 2010-03-05
Article Number
000044556
Applies To
RSA Access Manager Agent v4.8 for IIS 7.0
Issue
Long URL's cause a the 4.8 Agent for IIS 7 to crash
The application pool crashes if a request URL is around 4000 bytes long.
The following message shows in the Windows Event viewer:

Log Name:      Application
Source:        Application Error
Date:          2/21/2010 6:05:01 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      lab.com
Description:
Faulting application w3wp.exe, version 7.0.6002.18005, time stamp 0x49e03238, faulting module ct_iis70_agent.dll, version 4.8.0.0, time stamp 0x49c3582f, exception code 0xc0000409, fault offset 0x000000000000a761, process id 0x2b8, application start time 0x01cab2e5b63631a5.


Cause
The agent will sometimes crash if the request URL is between 4000 and 4096 bytes long as some internal buffers exceed 4096 bytes.
Resolution

This has been resolved in hotfix 4.8.0.40 for the 4.8 Agent for IIS 7.0.  Contact RSA Customer Support and request this hotfix or the latest cumulative hotfix for your platform.

Note after applying the hotfix any requests that exceed a URL length of 4096 bytes will display the following message in the agent log file. The request results in a "ERROR 414: Request URI Too Long" at the browser.

2010-03-05 14:32:40 -0800 - [240] - <Debug> - Request URI is too long. It's length should be atmost 4096 bytes. Current length is 4437