8.8high
The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files.
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 78.0% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files. This can be abused for Remote Code Execution by writing to a PHP file in the web directory. (Also, it can be used in conjunction with the sudo rule for the www-data user to escalate privileges to root.) The code error is in gravity_DownloadBlocklistFromUrl in gravity.sh.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pi-hole pi-hole | up to 4.4 | NVD |
All scores
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.0high CVSS:2.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Classification
What each source says
CVE List
The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files. This can be abused for Remote Code Execution by writing to a PHP file in the web directory. (Also, it can be used in conjunction with the sudo rule for the www-data user to escalate privileges to root.) The code error is in gravity_DownloadBlocklistFromUrl in gravity.sh.
NVD (es)
El actualizador de Gravity en Pi-hole versiones hasta 4.4, permite a un adversario autenticado cargar archivos arbitrarios. Esto puede ser abusado para una Ejecución de Código Remota al escribir en un archivo PHP en el directorio web. (Además, puede ser usado en conjunto con la regla de sudo para el usuario de www-data para escalar privilegios a root). El error de código está en la función gravity_DownloadBlocklistFromUrl en el archivo gravity.sh.
References
| https://frichetten.com/blog/cve-2020-11108-pihole-rce/ | exploit, third-party-advisory | |
| https://github.com/Frichetten/CVE-2020-11108-PoC | exploit, third-party-advisory | |
| http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html | exploit, third-party-advisory, vdb-entry | |
| http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.html | exploit, third-party-advisory, vdb-entry | |
| http://packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS-Command-Execution.html | ||
| http://packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-11108 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2020-11108 changed 2026-06-17 | Public domain |