CVEvulnerability

CVE-2020-14162

7.8 HIGH Published 2020-07-30 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2020-07-30
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
Weaknesses
CWE-269, CWE-78

Description

An issue was discovered in Pi-Hole through 5.0. The local www-data user has sudo privileges to execute the pihole core script as root without a password, which could allow an attacker to obtain root access via shell metacharacters to this script's setdns command.

Affected configurations

• pi-hole pi-hole (< 5.1)

Related

Weakness · CWE (2)

  • CWE-269 Improper Privilege Management weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References