Uploaded image for project: 'New Features 2017'
  1. New Features 2017
  2. NF-2965

[Security]-[Authorization Failure]-[Azure] Employee can access all Admin pages over the URL and able to update the customization/settings for those pages.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Bug Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: UI Refresh
    • Labels:
      None
    • Environment:
      Others
    • Bug Type:
      Functional
    • Bug Severity:
      Medium
    • Level:
      Admin
    • Module:
      Platform
    • Reported by:
      Harbinger
    • Company:
      All Clients/Multiple Clients
    • Item State:
      LB QA - In Testing
    • Issue Importance:
      Q2

      Description

      [Security]-[Authorization Failure] Employee can access all Admin pages over the URL and able to update the customization/settings for those pages.

      Environment : Azure
      Replication Steps:
      1. Login as Company Admin
      2. GO to Company Information Page.
      3. Copy the URL
      4. Login with Employee of same company in another browser.
      5. Paste the URL in employee's session.
      6. Access the Admin pages and try to update settings.

      Observed Same behavior on multiple pages like All tabs in Company Information, Manage Admin Users, Security Page, Site Branding and Themes etc.
      It seems that this issue is with all pages and necessary access level entries are missing.

      Expected Result:

      As soon as any admin level page URL is accessed by Employee Login it should show the Unauthorized Access page and restrict user for further actions.

      CC : Rakesh RoySachin HingoleHrishikesh DeshpandeVijay SiddhaVijayendra ShindeRohan J KhandaveBharti SatputeSamir

        Attachments

        1. AdminLogin.jpg
          AdminLogin.jpg
          162 kB
        2. Empl__CAPagesAdminUsers.jpg
          Empl__CAPagesAdminUsers.jpg
          124 kB
        3. Empl_Access_CAPagesCompInfo.jpg
          Empl_Access_CAPagesCompInfo.jpg
          135 kB
        4. EmployeeLoign.jpg
          EmployeeLoign.jpg
          148 kB
        5. PageLevelAccess.png
          PageLevelAccess.png
          139 kB

          Issue Links

            Activity

            Hide
            vijayendra Vijayendra Shinde (Inactive) added a comment -

            Hi Ashwin Wankhede,

            CheckPageLevelAccess key is set to false on Azure. Due to this authorization is not getting verified on Azure.

            I feel all keys should match to Stage and not from local. It will be really good if we do these changes at the earliest, well before build.

            Please do the needful.

            Thanks,
            Vijayendra

            CC: shyam sharma

            Show
            vijayendra Vijayendra Shinde (Inactive) added a comment - Hi Ashwin Wankhede , CheckPageLevelAccess key is set to false on Azure. Due to this authorization is not getting verified on Azure. I feel all keys should match to Stage and not from local. It will be really good if we do these changes at the earliest, well before build. Please do the needful. Thanks, Vijayendra CC: shyam sharma
            Hide
            ashwin.wankhede Ashwin Wankhede (Inactive) added a comment - - edited

            Hi Vijayendra Shinde,

            i have updated config on azure environment and also checked-in changes in UI Refresh branch as per New LB server.

            I will carry out this activity again before Codemap to Azure build.

            Prasad Pise,

            Can you please check, is issue still exists on Azure?

            Thank you.

            CC: shyam sharma

            Show
            ashwin.wankhede Ashwin Wankhede (Inactive) added a comment - - edited Hi Vijayendra Shinde , i have updated config on azure environment and also checked-in changes in UI Refresh branch as per New LB server. I will carry out this activity again before Codemap to Azure build. Prasad Pise , Can you please check, is issue still exists on Azure? Thank you. CC: shyam sharma
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Hi Prasad Pise,

            I have verified the issue by following above mentioned steps.
            Issue is still re-producible.
            Employee is able to access admin level home page, company information page,and all other pages and have an access to update the data.

            Thanks,
            Jayshree

            cc : Rakesh Roy

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Hi Prasad Pise , I have verified the issue by following above mentioned steps. Issue is still re-producible. Employee is able to access admin level home page, company information page,and all other pages and have an access to update the data. Thanks, Jayshree cc : Rakesh Roy
            Hide
            prasadp Prasad Pise (Inactive) added a comment -

            Hi Nidhi Kaul / Vijayendra Shinde

            This issue is reproducible. Please take it ahead.

            Show
            prasadp Prasad Pise (Inactive) added a comment - Hi Nidhi Kaul / Vijayendra Shinde This issue is reproducible. Please take it ahead.
            Hide
            anirudha.joshi anirudha joshi (Inactive) added a comment -

            Prasad Pise Vijayendra Shinde Nidhi Kaul

            I have verified this issue on 'UI Refresh Automation' company. The issue still persists.

            Repro Steps:

            1. Login with partner credentials
            2. Navigate to 'UI Refresh Automation' company.
            3. Change any employee password
            4. Login with this employee in other browser
            5. Copy the link ‘Change employee class/Status’ from partner login to the browser where same employee is logged in
            6. Employee is able to change the class/status.
            Show
            anirudha.joshi anirudha joshi (Inactive) added a comment - Prasad Pise Vijayendra Shinde Nidhi Kaul I have verified this issue on 'UI Refresh Automation' company. The issue still persists. Repro Steps: Login with partner credentials Navigate to 'UI Refresh Automation' company. Change any employee password Login with this employee in other browser Copy the link ‘Change employee class/Status’ from partner login to the browser where same employee is logged in Employee is able to change the class/status.
            Hide
            vijayendra Vijayendra Shinde (Inactive) added a comment -

            Hi Ashwin Wankhede,

            This is second time same issue getting reported due to same reason. Again, pageleveacecss key is set to false and qa are doing security testing. Please refer attached snapshot which will show azure flag is set to false.

            Nidhi Kaul,
            I feel we really need to figure out how we can stop such issues getting reported multiple times with same reason.

            Thanks,
            Vijayendra
            CC:Bharti Satpute,Samir

            Show
            vijayendra Vijayendra Shinde (Inactive) added a comment - Hi Ashwin Wankhede , This is second time same issue getting reported due to same reason. Again, pageleveacecss key is set to false and qa are doing security testing. Please refer attached snapshot which will show azure flag is set to false. Nidhi Kaul , I feel we really need to figure out how we can stop such issues getting reported multiple times with same reason. Thanks, Vijayendra CC: Bharti Satpute , Samir
            Hide
            ashwin.wankhede Ashwin Wankhede (Inactive) added a comment -

            Hi Vijayendra Shinde,

            As discussed, This is set to "False" as all PagelevelAccess entries are not present. Hence we can athorization errors. Please let me know once all required entries are present. I will set back checkPageLevelAccess flag to true.

            Show
            ashwin.wankhede Ashwin Wankhede (Inactive) added a comment - Hi Vijayendra Shinde , As discussed, This is set to "False" as all PagelevelAccess entries are not present. Hence we can athorization errors. Please let me know once all required entries are present. I will set back checkPageLevelAccess flag to true.
            Hide
            anirudha.joshi anirudha joshi (Inactive) added a comment -

            Hi Ashwin Wankhede

            Can you please let me know once the PagelevelAccess flag is set to 'True' so that we can check if the same error occurs.

            Regards,
            Anirudha Joshi

            CC: Vijayendra Shinde Prasad Pise

            Show
            anirudha.joshi anirudha joshi (Inactive) added a comment - Hi Ashwin Wankhede Can you please let me know once the PagelevelAccess flag is set to 'True' so that we can check if the same error occurs. Regards, Anirudha Joshi CC: Vijayendra Shinde Prasad Pise
            Hide
            ashwin.wankhede Ashwin Wankhede (Inactive) added a comment -

            Hi Khandu Kshirsagar,

            Can you please set "CheckPageLevelAccess" flag to true on azure.

            Show
            ashwin.wankhede Ashwin Wankhede (Inactive) added a comment - Hi Khandu Kshirsagar , Can you please set "CheckPageLevelAccess" flag to true on azure.
            Hide
            khandu.kshirsagar Khandu Kshirsagar (Inactive) added a comment -
            Show
            khandu.kshirsagar Khandu Kshirsagar (Inactive) added a comment - Hi Ashwin Wankhede , Done. Ashwin Wankhede
            Hide
            anirudha.joshi anirudha joshi (Inactive) added a comment - - edited

            Hi Ashwin Wankhede Vijayendra Shinde

            I verified this issue with PagelevelAccess flag set to True. The issue still persists
            Below are the steps executed and the observations.

            Repro Steps:

            • Login with partner credentials
            • Navigate to 'UI Refresh Automation' company.
            • Change any employee password
            • Login with this employee in other browser
            • Copy the link ‘Change employee Status’ from partner login to the browser where same employee is logged in
            • Employee is able to change the class/status.

            Observations:
            Eemployee is able to access the 'Change Status' page from partner login.
            Employee is able to access 'BenAdmin -> Pending Queue' page from partner login.

            I verified different pages from BenAdmin, Onboard, Core HR tabs of partner login. Above 2 pages were accessible to the employee even after the 'PageLevelAccess' was set to 'True'.

            Regards,
            Anirudha Joshi

            CC: Prasad Pise Nidhi Kaul Bharti Satpute Samir Rakesh Roy

            Show
            anirudha.joshi anirudha joshi (Inactive) added a comment - - edited Hi Ashwin Wankhede Vijayendra Shinde I verified this issue with PagelevelAccess flag set to True. The issue still persists Below are the steps executed and the observations. Repro Steps: Login with partner credentials Navigate to 'UI Refresh Automation' company. Change any employee password Login with this employee in other browser Copy the link ‘Change employee Status’ from partner login to the browser where same employee is logged in Employee is able to change the class/status. Observations: Eemployee is able to access the 'Change Status' page from partner login. Employee is able to access 'BenAdmin -> Pending Queue' page from partner login. I verified different pages from BenAdmin, Onboard, Core HR tabs of partner login. Above 2 pages were accessible to the employee even after the 'PageLevelAccess' was set to 'True'. Regards, Anirudha Joshi CC: Prasad Pise Nidhi Kaul Bharti Satpute Samir Rakesh Roy
            Hide
            vishal.yadav Vishal Yadav (Inactive) added a comment - - edited

            Hi Ashwin Wankhede,

            I have checked this issue and found that it is working on local (development) environment. But not working on codemap.
            Need to check web.config on codemap machine.

            Thanks,
            Vishal Y

            CC : Vijayendra Shinde

            Show
            vishal.yadav Vishal Yadav (Inactive) added a comment - - edited Hi Ashwin Wankhede , I have checked this issue and found that it is working on local (development) environment. But not working on codemap. Need to check web.config on codemap machine. Thanks, Vishal Y CC : Vijayendra Shinde
            Hide
            vishal.yadav Vishal Yadav (Inactive) added a comment -

            affected files :

            /branches/UiRefresh/Config Files WT Stage/Web Server/Web.config

            Show
            vishal.yadav Vishal Yadav (Inactive) added a comment - affected files : /branches/UiRefresh/Config Files WT Stage/Web Server/Web.config
            Hide
            vishal.yadav Vishal Yadav (Inactive) added a comment -

            Hi Prasad Pise,

            Please check this issue after next azure build.

            Thanks,
            Vishal Y

            Show
            vishal.yadav Vishal Yadav (Inactive) added a comment - Hi Prasad Pise , Please check this issue after next azure build. Thanks, Vishal Y

              People

              Assignee:
              prasadp Prasad Pise (Inactive)
              Reporter:
              prasadp Prasad Pise (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4h Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 9.5h
                  9.5h