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 Palo Alto Network firewalls running PAN-OS 11.1, 11.0, and 10.2
Palo Alto Networks disclosed that versions of their PAN-OS software have a vulnerability allowing for remote command injection. Here's how to find...
Rapid Response
How to find CrushFTP services
CrushFTP disclosed that versions of their file transfer software have a vulnerability allowing unauthenticated file system access. Here's how to...
Rapid Response
How to find outdated lighttpd services
Outdated versions of the open source lighttpd web server are vulnerable to a handful of security vulnerabilities
Rapid Response
How to find D-Link NAS Storage devices
D-Link has disclosed multiple vulnerabilities in their D-Link NAS Storage products. Here's how to find potentially impacted devices.

See Results in Minutes

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

© Copyright 2024 runZero, Inc. All Rights Reserved