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 Citrix Virtual Apps and Desktops software on your network
Citrix has released an advisory for two vulnerabilities affecting Citrix Virtual Apps and Desktops software.
Rapid Response
How to find FortiManager instances on your network
How to find FortiManager instances on your network using runZero
Rapid Response
How to find SolarWinds Web Help Desk services on your network
CISA has announced that CVE-2024-28987 is actively being exploited in SolarWinds' Web Help Desk software. Here's how to find potentially affected...
Rapid Response
How to find SuperMicro BMCs
Supermicro released a vulnerability advisory for a critical CVE that allows for remote code execution (CVE-2024-36435). Here's how to find impacted...

See Results in Minutes

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

© Copyright 2024 runZero, Inc. All Rights Reserved