CVE-2017-20161
rofl0r MacGeiger ESSID macgeiger.c dump_wlan_at injection
Check your servers for CVE-2017-20161
The PatchBrief agent sends the package list of each Linux server and of its container images once a day. PatchBrief shows every server where CVE-2017-20161 affects macgeiger, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
A vulnerability classified as problematic has been found in rofl0r MacGeiger. Affected is the function dump_wlan_at of the file macgeiger.c of the component ESSID Handler. The manipulation leads to injection. Access to the local network is required for this attack to succeed. The complexity of an attack is rather high. The exploitability is told to be difficult. The name of the patch is 57f1dd50a4821b8c8e676e8020006ae4bfd3c9cb. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-217188.
Severity (CVSS)
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
AV:A/AC:H/Au:N/C:P/I:P/A:P
- Attack vector
- adjacent: the attacker has to be on the same local network
- Attack complexity
- high
- Authentication
- none: the attacker does not need to log in
- Impact
- confidentiality partial, integrity partial, availability partial
Exploitation
EPSS 0.52%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 37.4% of all scored CVEs. Scores of 26 Nov 2026.
Weakness
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of macgeiger and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i macgeiger
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2017-20161 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2017-20161RHEL, Rocky, Alma, Fedora
rpm -q macgeiger
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2017-20161Alpine
apk list --installed | grep -i macgeigerWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2017-20161
trivy image --scanners vuln IMAGE | grep CVE-2017-20161
PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Patches and release notes
- https://github.com/rofl0r/MacGeiger/commit/57f1dd50a4821b8c8e676e8020006ae4bfd3c9cb github.com · patch
Other references
- https://vuldb.com/?id.217188 vuldb.com · vdb entry, technical description
- https://vuldb.com/?ctiid.217188 vuldb.com · signature, permissions required
Source: the record CVE-2017-20161 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.