Closed domwhewell closed 2 years ago
Hi @domwhewell,
Thank you for letting me know, it looks like you are right, I have modified that code. I took the test from the check the exploit (https://www.exploit-db.com/exploits/50011) performs in case you want to notify them also. A new version of linpeas with this issue fixed will be available in a couple of hours.
Issue description
On a redhat system where polkit isnt installed, linpeas reports prints "Vulnerable to CVE-2021-3560"
The yum statement evaluates to false however it still prints vulnerable. I beleive a
-ge 1
is missing after the )" e.g.Steps to reproduce the issue
Which parameters did you use for executing the script and how did you execute it?
./linpeas.sh
Is there any AV / Threat protection in the system?
N/A
Please, indicate the OS, the OS version, and the kernel version (build number in case of Windows)
Redhat
How did you expect it to work?
Statement evaluates to false so nothing is printed