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

            prasadp Prasad Pise (Inactive) created issue -
            vijayendra Vijayendra Shinde (Inactive) made changes -
            Field Original Value New Value
            Assignee shyam sharma [ shyam sharma ] Vijayendra Shinde [ ID10506 ]
            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
            vijayendra Vijayendra Shinde (Inactive) made changes -
            Assignee Vijayendra Shinde [ ID10506 ] Ashwin Wankhede [ ashwin.wankhede ]
            shyam.sharma shyam sharma (Inactive) made changes -
            Level Admin,Employee [ 15800, 15801 ] Admin [ 15800 ]
            prasadp Prasad Pise (Inactive) made changes -
            Bug Severity Critical [ 16701 ]
            prasadp Prasad Pise (Inactive) made changes -
            Bug Severity Critical [ 16701 ] Medium [ 16702 ]
            prasadp Prasad Pise (Inactive) made changes -
            Link This issue relates to NF-2714 [ NF-2714 ]
            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
            ashwin.wankhede Ashwin Wankhede (Inactive) made changes -
            Assignee Ashwin Wankhede [ ashwin.wankhede ] Prasad Pise [ prasadp ]
            prasadp Prasad Pise (Inactive) logged work - 07/Aug/17 02:09 PM
            • Time Spent:
              0.25h
               

              Sanity Test

            prasadp Prasad Pise (Inactive) made changes -
            Remaining Estimate 4h [ 14400 ]
            Original Estimate 4h [ 14400 ]
            prasadp Prasad Pise (Inactive) made changes -
            Remaining Estimate 4h [ 14400 ] 3.75h [ 13500 ]
            Time Spent 0.25h [ 900 ]
            Worklog Id 69805 [ 69805 ]
            prasadp Prasad Pise (Inactive) made changes -
            Assignee Prasad Pise [ prasadp ] Jayshree Nagpure [ jayshree.nagpure ]
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Attachment AdminLogin.jpg [ 57954 ]
            Attachment EmployeeLoign.jpg [ 57955 ]
            jayshree.nagpure Jayshree Nagpure (Inactive) logged work - 08/Aug/17 12:55 PM
            • Time Spent:
              1h
               

              Testing

            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
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Remaining Estimate 3.75h [ 13500 ] 2.75h [ 9900 ]
            Time Spent 0.25h [ 900 ] 1.25h [ 4500 ]
            Worklog Id 70122 [ 70122 ]
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Assignee Jayshree Nagpure [ jayshree.nagpure ] Prasad Pise [ prasadp ]
            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.
            prasadp Prasad Pise (Inactive) made changes -
            Assignee Prasad Pise [ prasadp ] Nidhi Kaul [ nidhi.kaul ]
            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.
            nidhi.kaul Nidhi Kaul (Inactive) made changes -
            Assignee Nidhi Kaul [ nidhi.kaul ] Vijayendra Shinde [ ID10506 ]
            vijayendra Vijayendra Shinde (Inactive) made changes -
            Attachment PageLevelAccess.png [ 68229 ]
            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
            vijayendra Vijayendra Shinde (Inactive) made changes -
            Assignee Vijayendra Shinde [ ID10506 ] Ashwin Wankhede [ ashwin.wankhede ]
            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.
            ashwin.wankhede Ashwin Wankhede (Inactive) made changes -
            Assignee Ashwin Wankhede [ ashwin.wankhede ] Prasad Pise [ prasadp ]
            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
            anirudha.joshi anirudha joshi (Inactive) made changes -
            Assignee Prasad Pise [ prasadp ] Vijayendra Shinde [ ID10506 ]
            anirudha.joshi anirudha joshi (Inactive) logged work - 28/Nov/17 06:00 PM
            • Time Spent:
              5h
               

              Verified the defect on Azure. The issue still persists.
              Verified if the employee is able to access different links from partner login.

            vijayendra Vijayendra Shinde (Inactive) made changes -
            Assignee Vijayendra Shinde [ ID10506 ] Vishal Yadav [ vishal.yadav ]
            vishal.yadav Vishal Yadav (Inactive) made changes -
            Status Open [ 1 ] In Development [ 10007 ]
            vishal.yadav Vishal Yadav (Inactive) logged work - 29/Nov/17 09:28 AM
            • Time Spent:
              2h
               

              analysis
              code debugging
              verification on local and codemap
              Discussion with Ashwin for web.config file updation

            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
            anirudha.joshi anirudha joshi (Inactive) made changes -
            Remaining Estimate 2.75h [ 9900 ] 0h [ 0 ]
            Time Spent 1.25h [ 4500 ] 6.25h [ 22500 ]
            Worklog Id 93626 [ 93626 ]
            vishal.yadav Vishal Yadav (Inactive) made changes -
            Company All Clients/Multiple Clients [ 18434 ]
            Environment Others [ 18445 ]
            Item State Parent values: Development(10200)Level 1 values: In Progress(10206)
            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
            vishal.yadav Vishal Yadav (Inactive) made changes -
            Assignee Vishal Yadav [ vishal.yadav ] Prasad Pise [ prasadp ]
            vishal.yadav Vishal Yadav (Inactive) made changes -
            Time Spent 6.25h [ 22500 ] 8.25h [ 29700 ]
            Worklog Id 94020 [ 94020 ]
            vishal.yadav Vishal Yadav (Inactive) logged work - 30/Nov/17 09:31 AM
            • Time Spent:
              1h
               

              Discussed with Khandu
              Checked web config on codemap.
              Web.config changes on Uirefresh-LB
              Testing

            vishal.yadav Vishal Yadav (Inactive) made changes -
            Time Spent 8.25h [ 29700 ] 9.25h [ 33300 ]
            Worklog Id 94024 [ 94024 ]
            sachin.hingole Sachin Hingole (Inactive) made changes -
            Status In Development [ 10007 ] Local Testing [ 10200 ]
            hrishikesh.deshpande Hrishikesh Deshpande (Inactive) made changes -
            Item State Parent values: Development(10200)Level 1 values: In Progress(10206) Parent values: LB QA(10201)Level 1 values: In Testing(10210)
            prasadp Prasad Pise (Inactive) made changes -
            Status Local Testing [ 10200 ] Stage Testing [ 10201 ]
            prasadp Prasad Pise (Inactive) made changes -
            Status Stage Testing [ 10201 ] Production Testing [ 10202 ]
            prasadp Prasad Pise (Inactive) made changes -
            Time Spent 9.25h [ 33300 ] 9.5h [ 34200 ]
            Worklog Id 109427 [ 109427 ]
            prasadp Prasad Pise (Inactive) made changes -
            Resolution Bug Fixed [ 10402 ]
            Status Production Testing [ 10202 ] Production Complete [ 10028 ]
            prasadp Prasad Pise (Inactive) made changes -
            Status Production Complete [ 10028 ] Closed [ 6 ]
            prasadp Prasad Pise (Inactive) logged work - 23/Mar/18 01:04 PM
            • Time Spent:
              0.25h
               

              Verified on Production. Issue fixed

            vijayendra Vijayendra Shinde (Inactive) made changes -
            Link This issue relates to DEV-13718 [ DEV-13718 ]
            Transition Time In Source Status Execution Times
            Vishal Yadav (Inactive) made transition -
            Open In Development
            160d 20h 10m 1
            Sachin Hingole (Inactive) made transition -
            In Development In LB Testing
            27d 22h 33m 1
            Prasad Pise (Inactive) made transition -
            In LB Testing Stage Testing
            85d 20h 13m 1
            Prasad Pise (Inactive) made transition -
            Stage Testing In Production Testing
            2s 1
            Prasad Pise (Inactive) made transition -
            In Production Testing Production Complete
            1m 24s 1
            Prasad Pise (Inactive) made transition -
            Production Complete Closed
            4s 1

              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