CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2020 · Pi-hole

CVE-2020-11108
Pi-hole vulnerability

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 products

Pi-hole. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Pi-hole runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Pi-hole products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.