Vulnerability - Improper Cache-Control on sensitive Page
-----------------------------------------------------------------------------------
-----------------------------------------------------------
Description - The cache-control and pragma HTTP header have not been set properly
or are missing allowing the browser and proxies to cache content.
-----------------------------------------------------------------------------------
-----------------------------------------------------------
Steps to reproduce -
1 - Go to the URL
2 - Login using the desired credentials
3 - Open any sensitive page like (account / settings /profile )
4 - Click on the Logout button
5 - Press the back button of the browser
6 - User's sensitive information will be visible on the page
-----------------------------------------------------------------------------------
-----------------------------------------------------------
Impact - When sensitive data is being stored and transmitted by the application
which does not have the `Cache-Control` header,
an advanced attacker can access the sensitive data, phish users and cause
reputational damage to the business.
-----------------------------------------------------------------------------------
-----------------------------------------------------------
Remediation -
Add the security headers that will prevent the site's cache to get loaded again
after the session has been terminated.
-----------------------------------------------------------------------------------
-----------------------------------------------------------