Patchfirst
CVE-2020-11108 Public exploit EPSS 78.0%

The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files

No fixed version listed yet.Check the vendor advisory. References ↓

Summary

The Gravity updater in Pi-hole through 4.4, specifically the gravity_DownloadBlocklistFromUrl function in gravity.sh, contains a flaw that lets a user upload arbitrary files. An authenticated attacker can exploit it by writing a PHP file into the web directory to achieve remote code execution, and combined with the sudo rule for the www-data user it can be used to escalate privileges to root.

Official description · CVE.org

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.

Breakdown
26.7 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) was available 37 days before disclosure.

  1. Public exploit codePoC-in-GitHub37 days before
  2. Disclosedday 0
↑ ↓ chooseEnter openEsc close