The-Z-Labs / linux-exploit-suggester

Linux privilege escalation auditing tool
GNU General Public License v3.0
5.54k stars 1.09k forks source link

Add nginx version check: pkg=nginx|nginx-full,ver<1.10.3 #57

Closed bcoles closed 5 years ago

bcoles commented 5 years ago

Add a rudimentary version check for the nginx package for the nginxed-root.sh exploit.

This exploit frequently shows up on modern systems, with any version of nginx installed, due to lack of a package version check.

The bug was disclosed ~3 years ago. Checking for <1.10.3 seemed like the easiest and best way to eliminate false positives without causing false negatives. All versions from 1.10.3 onward should be patched.