PVWA - Unable to approve/reject dual control access requests in a specific safe
103
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:52 PM
Symptom
When trying to approve or reject an access request, you receive the following error -
"Confirm Request Error - Internal Server Error"
The following error shows up in a network .har recording:
A potentially dangerous Request.Path value was detected from the client (&).
And in Web.Application.log:
EPVDL005E Application Error! Page=[https://pvwa.server/PasswordVault/api/incomingRequests/A&B_1/reject] Error=[A potentially dangerous Request.Path value was detected from the client (&).] Stack Trace=[ at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)]
IW003E Exception was thrown - A potentially dangerous Request.Path value was detected from the client (&).
Environment
12.0;12.1;12.2 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access PVWA
Cause
When we click to approve/reject a request, we are actually posting to the PVWA API for incoming requests.
The URL of the API call will includes the request ID, followed by the action.
such as:
https://<IIS server IP>/PasswordVault/api/incomingrequests/{RequestID}/reject
https://<IIS server IP>/PasswordVault/api/incomingrequests/{RequestID}/approve
The way PVWA generates the request ID's is by taking the safe name of the account, and appending an underscore followed by a number (For example "A&B_1")
The issue here is that the API does not accept the following characters in the URL: + & %, and throws an error.
(API doc: https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/RejectRequest.htm)
Resolution
Use a safe that does not contain the characters + & % in its name, or remove the special characters from the safe name.