Details

    • Type: Change Request
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Component/s: BenAdmin
    • Labels:
    • Module:
      BenAdmin - Security
    • Reported by:
      Support
    • Item State:
      Production Complete
    • Issue Importance:
      Must Have

      Description

      Vulnerability Description
      Page caching by the web browser is not disabled in many HTML pages throughout the application.

      Impact
      This vulnerability could allow sensitive application information to be recovered in clear-text from a browser’s cache in situations where a user logs in to the site via a shared computer (e.g., in a public library, a public Internet kiosk, etc.) or if a malicious user gained local access to a legitimate user’s workstation. Other information disclosures may also result from this condition. In some cases, after a user logs out of the application, a malicious user with local access to the victim’s workstation can press the browser’s “back” button in order to view the last page accessed by the user prior to logging out.

      Verification and Attack Information
      Praetorian identified this issue by observing Cache-Control headers sent in server responses and by manually viewing contents of the client’s local cache directory. Example evidence is shown below.

      Recommendation
      Set page-caching directives using three HTTP 1.0/1.1 headers for all pages containing sensitive or volatile data. The headers are:
       Cache-Control: no-cache
       Pragma: no-cache
       Expires: -1

      References
      https://www.owasp.org/index.php/Category:WASS_Page_Caching

        Attachments

          Activity

          vijayendra Vijayendra Shinde (Inactive) created issue -
          vijayendra Vijayendra Shinde (Inactive) made changes -
          Field Original Value New Value
          Rank Ranked higher
          vijayendra Vijayendra Shinde (Inactive) made changes -
          Assignee Niteen Surwase [ niteen.surwase ]
          vijayendra Vijayendra Shinde (Inactive) made changes -
          Status New Request [ 10029 ] Pending for Approval [ 10002 ]
          vijayendra Vijayendra Shinde (Inactive) made changes -
          Status Pending for Approval [ 10002 ] Approved for Development [ 10003 ]
          vijayendra Vijayendra Shinde (Inactive) made changes -
          Status Approved for Development [ 10003 ] In Development [ 10007 ]
          vijayendra Vijayendra Shinde (Inactive) made changes -
          Component/s BenAdmin [ 10100 ]
          vijayendra Vijayendra Shinde (Inactive) made changes -
          Labels Low Risk Security
          vijayendra Vijayendra Shinde (Inactive) made changes -
          Description *Vulnerability Description*
          Page caching by the web browser is not disabled in many HTML pages throughout the application.

          *Impact*
          This vulnerability could allow sensitive application information to be recovered in clear-text from a browser’s cache in situations where a user logs in to the site via a shared computer (e.g., in a public library, a public Internet kiosk, etc.) or if a malicious user gained local access to a legitimate user’s workstation. Other information disclosures may also result from this condition. In some cases, after a user logs out of the application, a malicious user with local access to the victim’s workstation can press the browser’s “back” button in order to view the last page accessed by the user prior to logging out.

          *Verification and Attack Information*
          Praetorian identified this issue by observing Cache-Control headers sent in server responses and by manually viewing contents of the client’s local cache directory. Example evidence is shown below.

          *Recommendation*
          Set page-caching directives using three HTTP 1.0/1.1 headers for all pages containing sensitive or volatile data. The headers are:
           Cache-Control: no-cache
           Pragma: no-cache
           Expires: -1
          *Vulnerability Description*
          Page caching by the web browser is not disabled in many HTML pages throughout the application.

          *Impact*
          This vulnerability could allow sensitive application information to be recovered in clear-text from a browser’s cache in situations where a user logs in to the site via a shared computer (e.g., in a public library, a public Internet kiosk, etc.) or if a malicious user gained local access to a legitimate user’s workstation. Other information disclosures may also result from this condition. In some cases, after a user logs out of the application, a malicious user with local access to the victim’s workstation can press the browser’s “back” button in order to view the last page accessed by the user prior to logging out.

          *Verification and Attack Information*
          Praetorian identified this issue by observing Cache-Control headers sent in server responses and by manually viewing contents of the client’s local cache directory. Example evidence is shown below.

          *Recommendation*
          Set page-caching directives using three HTTP 1.0/1.1 headers for all pages containing sensitive or volatile data. The headers are:
           Cache-Control: no-cache
           Pragma: no-cache
           Expires: -1

          *References*
          https://www.owasp.org/index.php/Category:WASS_Page_Caching
          Hide
          niteen.surwase Niteen Surwase (Inactive) added a comment - - edited

          Steps to Configure Server for Page Caching Parameters
          1. Open IIS Manager and Select Project (Site).
          2. Open "HTTP Response Header" and Click on "Add" button from Actions pane.
          3. Add following Name and Value:
          i. Cache-Control: no-cache
          ii. Expires: -1
          iii. Pragma: no-cache

          Note : This will edit Web.Config file of Web Projects

          Show
          niteen.surwase Niteen Surwase (Inactive) added a comment - - edited Steps to Configure Server for Page Caching Parameters 1. Open IIS Manager and Select Project (Site). 2. Open "HTTP Response Header" and Click on "Add" button from Actions pane. 3. Add following Name and Value : i. Cache-Control : no-cache ii. Expires : -1 iii. Pragma : no-cache Note : This will edit Web.Config file of Web Projects
          Hide
          niteen.surwase Niteen Surwase (Inactive) added a comment - - edited

          For Testing :
          1. Open Login Page --> Inspect Element --> Network Tab --> Reload Page (Ctrl + F5)
          2. Check Response Headers of all files --> Cache-Control, Pragma, Expires attributes are visible.

          Show
          niteen.surwase Niteen Surwase (Inactive) added a comment - - edited For Testing : 1. Open Login Page --> Inspect Element --> Network Tab --> Reload Page (Ctrl + F5) 2. Check Response Headers of all files --> Cache-Control, Pragma, Expires attributes are visible.
          niteen.surwase Niteen Surwase (Inactive) made changes -
          Assignee Niteen Surwase [ niteen.surwase ] Amit Gude [ amitg ]
          niteen.surwase Niteen Surwase (Inactive) made changes -
          Status In Development [ 10007 ] Local Testing [ 10200 ]
          Hide
          amitg Amit Gude (Inactive) added a comment -

          Assigning to Zeeshan

          Show
          amitg Amit Gude (Inactive) added a comment - Assigning to Zeeshan
          amitg Amit Gude (Inactive) made changes -
          Assignee Amit Gude [ amitg ] Zeeshan Chishty [ zeeshan.chishty ]
          Hide
          Zeeshan.Chishty Zeeshan Chishty (Inactive) added a comment -

          Cache control header for all pages is set to either private,public nochace or combination of them
          It is suggested to set cache control :nocache

          Show
          Zeeshan.Chishty Zeeshan Chishty (Inactive) added a comment - Cache control header for all pages is set to either private,public nochace or combination of them It is suggested to set cache control :nocache
          Zeeshan.Chishty Zeeshan Chishty (Inactive) made changes -
          Status Local Testing [ 10200 ] Reopen in Local [ 10018 ]
          Hide
          Zeeshan.Chishty Zeeshan Chishty (Inactive) added a comment -

          For Sensitive data in pages we should implement
          Cache-Control: no-cache, no-store, must-revalidate,
          pre-check=0, post-check=0, max-age=0, s-maxage=0
          Pragma:No cache
          Expires:-1

          Show
          Zeeshan.Chishty Zeeshan Chishty (Inactive) added a comment - For Sensitive data in pages we should implement Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0, max-age=0, s-maxage=0 Pragma:No cache Expires:-1
          Hide
          niteen.surwase Niteen Surwase (Inactive) added a comment -

          Affected Pages for Cache Control
          SearchEmployeeController.cs 1 Response Changed
          WTHomePageController.cs 21 Response Changed
          EmployeeProfileController.cs 4 Response Change
          EnrollmentSummaryController.cs 5 Response Change

          Show
          niteen.surwase Niteen Surwase (Inactive) added a comment - Affected Pages for Cache Control SearchEmployeeController.cs 1 Response Changed WTHomePageController.cs 21 Response Changed EmployeeProfileController.cs 4 Response Change EnrollmentSummaryController.cs 5 Response Change
          niteen.surwase Niteen Surwase (Inactive) made changes -
          Status Reopen in Local [ 10018 ] In Development [ 10007 ]
          niteen.surwase Niteen Surwase (Inactive) made changes -
          Status In Development [ 10007 ] Local Testing [ 10200 ]
          Hide
          niteen.surwase Niteen Surwase (Inactive) added a comment - - edited

          Note :
          pre-check=0, post-check=0 is not necessary if these parameters are 0. So, this parameters are not added
          Following is added in above pages.
          Cache-Control: no-cache, no-store, must-revalidate, max-age=0, s-maxage=0

          Show
          niteen.surwase Niteen Surwase (Inactive) added a comment - - edited Note : pre-check=0, post-check=0 is not necessary if these parameters are 0. So, this parameters are not added Following is added in above pages. Cache-Control : no-cache, no-store, must-revalidate, max-age=0, s-maxage=0
          niteen.surwase Niteen Surwase (Inactive) made changes -
          Attachment List of Cache Imapached pages.xls [ 17001 ]
          Hide
          niteen.surwase Niteen Surwase (Inactive) added a comment -

          Please find the attachment for pages changed for Cache-Control Header

          Show
          niteen.surwase Niteen Surwase (Inactive) added a comment - Please find the attachment for pages changed for Cache-Control Header
          niteen.surwase Niteen Surwase (Inactive) made changes -
          Attachment Cache-Control-ed Modules.xls [ 17306 ]
          Hide
          niteen.surwase Niteen Surwase (Inactive) added a comment -

          Page caching is enabled page wise.
          Please check the attached excel-sheet for the pages affected:
          Cache-Control-ed Modules.xls

          Show
          niteen.surwase Niteen Surwase (Inactive) added a comment - Page caching is enabled page wise. Please check the attached excel-sheet for the pages affected: Cache-Control-ed Modules.xls
          niteen.surwase Niteen Surwase (Inactive) made changes -
          Attachment List of Cache Imapached pages.xls [ 17001 ]
          samir Samir made changes -
          Issue Importance Must Have [ 11800 ]
          Zeeshan.Chishty Zeeshan Chishty (Inactive) made changes -
          Assignee Zeeshan Chishty [ zeeshan.chishty ] Niteen Surwase [ niteen.surwase ]
          vijayendra Vijayendra Shinde (Inactive) made changes -
          Assignee Niteen Surwase [ niteen.surwase ] Zeeshan Chishty [ zeeshan.chishty ]
          vijayendra Vijayendra Shinde (Inactive) made changes -
          Status Local Testing [ 10200 ] Reopen in Local [ 10018 ]
          vijayendra Vijayendra Shinde (Inactive) made changes -
          Status Reopen in Local [ 10018 ] In Development [ 10007 ]
          vijayendra Vijayendra Shinde (Inactive) made changes -
          Status In Development [ 10007 ] Local Testing [ 10200 ]
          Hide
          Zeeshan.Chishty Zeeshan Chishty (Inactive) added a comment -

          Verified as cache control header is specified with values no cache, no store and max age:0
          Pragma:no cache
          Expires:-1

          Show
          Zeeshan.Chishty Zeeshan Chishty (Inactive) added a comment - Verified as cache control header is specified with values no cache, no store and max age:0 Pragma:no cache Expires:-1
          Zeeshan.Chishty Zeeshan Chishty (Inactive) made changes -
          Assignee Zeeshan Chishty [ zeeshan.chishty ]
          Zeeshan.Chishty Zeeshan Chishty (Inactive) made changes -
          Status Local Testing [ 10200 ] Pending for Stage Approval [ 10300 ]
          Zeeshan.Chishty Zeeshan Chishty (Inactive) made changes -
          Assignee Vijayendra Shinde [ ID10506 ]
          vijayendra Vijayendra Shinde (Inactive) made changes -
          Item State Parent values: Development(10200)Level 1 values: In Progress(10206) Parent values: LB QA(10201)Level 1 values: Ready for Stage(10213)
          niteen.surwase Niteen Surwase (Inactive) made changes -
          Item State Parent values: LB QA(10201)Level 1 values: Ready for Stage(10213) Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602)
          niteen.surwase Niteen Surwase (Inactive) made changes -
          Status Pending for Stage Approval [ 10300 ] Approved for Stage [ 10030 ]
          niteen.surwase Niteen Surwase (Inactive) made changes -
          Assignee Vijayendra Shinde [ ID10506 ] Zeeshan Chishty [ zeeshan.chishty ]
          Hide
          Zeeshan.Chishty Zeeshan Chishty (Inactive) added a comment -

          Verified on stage as cache control header is specified with values no cache, no store and max age:0
          Pragma:no cache
          Expires:-1

          Show
          Zeeshan.Chishty Zeeshan Chishty (Inactive) added a comment - Verified on stage as cache control header is specified with values no cache, no store and max age:0 Pragma:no cache Expires:-1
          Zeeshan.Chishty Zeeshan Chishty (Inactive) made changes -
          Status Approved for Stage [ 10030 ] Stage Testing [ 10201 ]
          Zeeshan.Chishty Zeeshan Chishty (Inactive) made changes -
          Item State Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602) Parent values: Stage QA(10202)Level 1 values: Ready for Production(10217)
          Zeeshan.Chishty Zeeshan Chishty (Inactive) made changes -
          Status Stage Testing [ 10201 ] Pending for Production Approval [ 10301 ]
          Zeeshan.Chishty Zeeshan Chishty (Inactive) made changes -
          Assignee Zeeshan Chishty [ zeeshan.chishty ] Vijayendra Shinde [ ID10506 ]
          niteen.surwase Niteen Surwase (Inactive) made changes -
          Status Pending for Production Approval [ 10301 ] Approved for production [ 10034 ]
          niteen.surwase Niteen Surwase (Inactive) made changes -
          Assignee Vijayendra Shinde [ ID10506 ] Zeeshan Chishty [ zeeshan.chishty ]
          niteen.surwase Niteen Surwase (Inactive) made changes -
          Item State Parent values: Stage QA(10202)Level 1 values: Ready for Production(10217) Parent values: Production QA(10203)Level 1 values: Production Deployed(10221)
          niteen.surwase Niteen Surwase (Inactive) made changes -
          Developer Niteen Surwase [ niteen.surwase ]
          Hide
          Zeeshan.Chishty Zeeshan Chishty (Inactive) added a comment -

          Confirmed on Production cache control headers are set to no chache, no store wherever necessary.

          Show
          Zeeshan.Chishty Zeeshan Chishty (Inactive) added a comment - Confirmed on Production cache control headers are set to no chache, no store wherever necessary.
          Zeeshan.Chishty Zeeshan Chishty (Inactive) made changes -
          Assignee Zeeshan Chishty [ zeeshan.chishty ] Deepali Tidke [ deepalit ]
          Hide
          Zeeshan.Chishty Zeeshan Chishty (Inactive) added a comment -

          Rakesh Roy This should be verified for performance or any other functional issues.Please assign it if required

          Show
          Zeeshan.Chishty Zeeshan Chishty (Inactive) added a comment - Rakesh Roy This should be verified for performance or any other functional issues.Please assign it if required
          Hide
          deepalit Deepali Tidke (Inactive) added a comment -

          Checked mentioned pages on production except for On Board and Wellness module

          Show
          deepalit Deepali Tidke (Inactive) added a comment - Checked mentioned pages on production except for On Board and Wellness module
          deepalit Deepali Tidke (Inactive) made changes -
          Item State Parent values: Production QA(10203)Level 1 values: Production Deployed(10221) Parent values: Production Complete(10222)
          deepalit Deepali Tidke (Inactive) made changes -
          Status Approved for production [ 10034 ] Production Testing [ 10202 ]
          deepalit Deepali Tidke (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Production Testing [ 10202 ] Production Complete [ 10028 ]
          deepalit Deepali Tidke (Inactive) made changes -
          Status Production Complete [ 10028 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times
          Vijayendra Shinde (Inactive) made transition -
          New Request Pending for Approval
          2m 33s 1
          Vijayendra Shinde (Inactive) made transition -
          Pending for Approval Approved for Development
          2s 1
          Vijayendra Shinde (Inactive) made transition -
          Approved for Development In Development
          2s 1
          Vijayendra Shinde (Inactive) made transition -
          In LB Testing Reopen in Local
          31d 2h 59m 2
          Vijayendra Shinde (Inactive) made transition -
          Reopen in Local In Development
          7d 26m 2
          Vijayendra Shinde (Inactive) made transition -
          In Development In LB Testing
          2d 23h 46m 3
          Zeeshan Chishty (Inactive) made transition -
          In LB Testing Pending for Stage Approval
          1d 21h 32m 1
          Niteen Surwase (Inactive) made transition -
          Pending for Stage Approval Approved for Stage
          18d 21h 44m 1
          Zeeshan Chishty (Inactive) made transition -
          Approved for Stage Stage Testing
          40m 31s 1
          Zeeshan Chishty (Inactive) made transition -
          Stage Testing Pending for Production Approval
          16s 1
          Niteen Surwase (Inactive) made transition -
          Pending for Production Approval Approved for production
          1d 6h 50m 1
          Deepali Tidke (Inactive) made transition -
          Approved for production In Production Testing
          13d 21h 1m 1
          Deepali Tidke (Inactive) made transition -
          In Production Testing Production Complete
          5s 1
          Deepali Tidke (Inactive) made transition -
          Production Complete Closed
          2s 1

            People

            Assignee:
            deepalit Deepali Tidke (Inactive)
            Reporter:
            vijayendra Vijayendra Shinde (Inactive)
            Developer:
            Niteen Surwase (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: