PVWA - Access is Denied - appears when clicking on a link to the PVWA Login page - Load Balancer - F5 - Netscaler- AllowedReferrer
157
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 12:58 PM
Symptom
When accessing the PVWA logon page using a link from a different web page, the user receives a blank page with the message Access is Denied at the top left.
Environment
10.10;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access PVWA
Cause
The website is not configured as an allowed website to refer users to the PVWA logon page.
Can be caused due to LoadBalancer or new URL that is being used.
From version 4.6, an additional security measure was added to the PVWA which allows restricting the websites from which the PVWA can be referred to. Only web sites listed in the AllowedReferrer BaseURL parameter are allowed to refer users to the PVWA Logon page.
Resolution
1. In the PVWA go to the System Configuration View, click options
2. Go to General > Access Restriction, and add a new parameter: Add AllowedReferrer.
3. Enter the relevant Website URL to the <AllowedReferrer BaseUrl> parameter
In the URL - please specify the http/https protocol and specify the passwordvault sub folder.
If you not sure what is the URL, check the PVWA logs and see which url was blocked:
Open the CyberArk.WebApplication.log (under c:\windows\temp) and search for the following error message:
CASW013E HTTP request denied for user agent using HTTP referrer https://vault.company.com/PasswordVault/logon.aspx?ReturnUrl=%2fPasswordVault%2fdefault.aspx
if this is the error message, the value should be https://vault.company.com/PasswordVault
If needed you can have several AllowedReferrer
4. restart the IIS.
Additional Information
Details
SYMPTOM:When accessing the PVWA logon page using a link from a different web page, the user receives a blank page with the message Access is Denied at the top left.
PROBLEM:
The website is not configured as an allowed website to refer users to the PVWA logon page.
Can be caused due to LoadBalancer or new URL that is being used.
From version 4.6, an additional security measure was added to the PVWA which allows restricting the websites from which the PVWA can be referred to. Only web sites listed in the 'AllowedReferrer BaseURL' parameter are allowed to refer users to the PVWA Logon page.
SOLUTION:
1. In the PVWA go to the System Configuration View, click options (of web access)
2. go to general -> Access Restriction, and add a new parameter: Add AllowedReferrer.
3. Enter the relevant Website URL to the <AllowedReferrer BaseUrl> parameter
In the URL - please specify the http/https protocol and specify the "passwordvault" sub folder.
If you not sure what is the URL, check the PVWA logs and see which url was blocked:
Open the CyberArk.WebApplication.log (under c:\windows\temp) and search for the following error message:
CASW013E HTTP request denied for user agent using HTTP referrer https://vault.company.com/PasswordVault/logon.aspx?ReturnUrl=%2fPasswordVault%2fdefault.aspx
if this is the error message, the value should be https://vault.company.com/PasswordVault
If needed you can have several "AllowedReferrer"
4. restart the IIS.