Patching PolicyKit Local Privilege Escalation Vulnerability Using SanerNow

    Follow

    Overview:

    One high-severity vulnerability is recently revealed to be present in the PolicyKit's pkexec binary. Successful exploitation of this vulnerability by a non-privileged user could lead to escalation to a super user root.

    CVEs assigned:

    CVE-2021-4034

    Affected software:

    PolicyKit

    Solution:

    To address this vulnerability, the vendor has released security patches. For more information, please refer to our blog.

    Use SanerNow platform to apply this high severity patch quickly across the organization as shown below.

    SanerNow: Vulnerability detection and patching of Local Privilege Escalation Vulnerability:

    1. Login to SanerNow platform
    2. Switch to the account/site specific view and Go to 'VM tool'
    3. If your Linux Operating System is vulnerable, Saner lists the CVE’s 'CVE-2021-4034' in 'Vulnerabilities' section as shown in the below diagram

    image1.png

    1. Search for this vulnerability in the VM tool. If you are affected, apply the patch through PM -> Missing Patches
    2. Select 'Groups/Devices' in the 'Asset Source' section and click 'Apply'.
    3. Select the 'PolicyKit' product from the 'Asset' section as shown in the below diagram.

    image2.png

    1. Select 'Apply Selected Patches' at the rightmost corner. This will prompt for 'Creating Patching Task'. Fill in 'Task Name' and 'Remediation Schedule' as per your preference and click on 'Apply Selected Patches' as shown below,

    image3.png

    1. Remediation job will be created, which will fix the vulnerability by upgrading the software and making the system immune to PolicyKit vulnerability.
    2. Once remediation is done, the Saner agent automatically scans again and upload the result to SanerNow as shown below.

    image4.png

     

    Was this article helpful?
    0 out of 0 found this helpful

    Comments