CVE-2020-11108
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
pi-hole pi-holeup to 4.4NVD

All scores

NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD9.0high CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2020-11108 changed 2024-08-04CVE Terms of Use
NVDCVE-2020-11108 changed 2026-06-17Public domain