CVEvulnerability
CVE-2020-14162
7.8 HIGH
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
References
- https://0xpanic.github.io/2020/07/21/Pihole.html Exploit, Third Party Advisory
- https://docs.pi-hole.net/core/pihole-command/ Vendor Advisory
- https://0xpanic.github.io/2020/07/21/Pihole.html Exploit, Third Party Advisory
- https://docs.pi-hole.net/core/pihole-command/ Vendor Advisory