How to find Linux servers on your network

|
Updated

Latest Linux server vulnerability #

News dropped this week around a memory corruption vulnerability with a broad reach across many Linux distributions, including Ubuntu, Debian, Mint, RHEL, Fedora, CentOS, Oracle, Arch, and SUSE. Having been present-but-unseen for over 12 years now, CVE-2021-4034 (with a "high" CVSS score of 7.8) resides in the PolKit (Policy Kit) component that is installed in many Linux distributions by default. Successful exploitation of this vulnerability provides a local privilege escalation (LPE) to hand over root-level privileges to an unprivileged user. Named PwnKit by the Qualys Research Team who discovered and disclosed the vulnerability, exploitation of vulnerable systems is considered to be straightforward and can purportedly be done without leaving an audit trail.

A number of major Linux distributions, including Ubuntu and Red Hat, recently released patches to fix this vulnerability, as well as the PolKit toolkit, itself. In the event that patching is not possible or patches are not available for an affected Linux install, a mitigation is suggested by the Qualys Research Team via removing the SUID bit from the pkexec program. Patching or mitigation of vulnerable systems is recommended, particularly with publicly available exploit code now available on the Internet.

How to find Linux instances potentially vulnerable to PwnKit with runZero #

From the Asset Inventory, use the following pre-built query to locate multi-user Linux assets within your network that are potentially vulnerable to PwnKit:

os:debian or os:ubuntu or os:mint or os:raspbian or os:="red hat%" or os:fedora or os:centos or os:cloudlinux or os:oracle or os:="arch%" or os:manjaro or os:suse
Find multi-user Linux servers

As always, any prebuilt queries we create are available from our Queries Library. Check out the library for other useful inventory queries.

Written by Pearce Barry

More about Pearce Barry
Subscribe Now

Get the latest news and expert insights delivered in your inbox.

Welcome to the club! Your subscription to our newsletter is successful.


Related Articles

Rapid Response
How to find Go SSH servers on your network
How to discover Go SSH instances on your network that may be vulnerable to CVE-2024-45337
Rapid Response
How to find Cleo Harmony, LexiCom, and VLTransfer installations on your network
Cleo Software has disclosed CVE-2024-50623 affecting installations of Cleo Harmony, VLTransfer, and LexiCom on your network. Here's how to find...
Rapid Response
How to find Cisco NX-OS assets on your network
Cisco has released an advisory for a vulnerability found within their NX-OS software. Here's how to find affected assets.
Rapid Response
How to find Citrix Virtual Apps and Desktops software on your network
Citrix has released an advisory for two vulnerabilities affecting Citrix Virtual Apps and Desktops software.

See Results in Minutes

Get complete visibility into IT, OT, & IoT — without agents, credentials, or hardware.

© Copyright 2024 runZero, Inc. All Rights Reserved