Run: PwnKit mitigation - Restore default permissions on pkexec - UNDO MITIGATION
0 Votes |
Description
This task restore the default permission on the pkexec file, that is. -rwsr-xr-x
It is a generic command that can be deployed on all Linux-based endpoints
chmod u+s /usr/bin/pkexec
This task can be used in case the PwnKit mitigation task damaged an application running on the target endpoint. It will restore the default permissions on the pkexec file that were modified by the mitigation task.
Use this task with care and test thoroughly in your environment
NOTE: The task restores the default (-rwsr-xr-x) to the pkexec file.
Property Details
26904 | |
Beta - Preliminary testing ready for more | |
Run: PwnKit mitigation - Restore default permissions on pkexec - UNDO MITIGATION | |
BESC | |
Workaround | |
Community Content | |
Important | |
1/28/2022 12:00:00 AM | |
CVE-2021-4034 | |
CVE-2021-4034 BETA | |
brolly33 on 2/1/2022 6:38:00 AM | |
brolly33 on 2/1/2022 6:38:00 AM | |
1922 Views / 5 Downloads | |
* Average over 0 ratings. ** Log In or Register to add your rating. |
Relevance
Used in 1 fixlet | * Results in a true/false |
exists file "/usr/bin/pkexec" and mode of file "/usr/bin/pkexec" as string != "rwsr-xr-x"
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
// Enter your action script hereSuccess Criteria
wait "/bin/bash" -c "chmod u+s /usr/bin/pkexec"
This action will be considered successful when all lines of the action script have completed successfully.
Sharing
Social Media: |