Pi-Hole up to 4.4 Gravity Updater gravity.sh gravity_DownloadBlocklistFromUrl unrestricted upload
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.2 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as critical has been discovered in Pi-Hole up to 4.4. This impacts the function gravity_DownloadBlocklistFromUrl of the file gravity.sh of the component Gravity Updater. Such manipulation leads to unrestricted upload.
This vulnerability is listed as CVE-2020-11108. The attack may be performed from remote. In addition, an exploit is available.
Details
A vulnerability was found in Pi-Hole up to 4.4. It has been rated as critical. Affected by this issue is the function gravity_DownloadBlocklistFromUrl of the file gravity.sh of the component Gravity Updater. The manipulation with an unknown input leads to a unrestricted upload vulnerability. Using CWE to declare the problem leads to CWE-434. The product allows the attacker to upload or transfer files of dangerous types that can be automatically processed within the product's environment. Impacted is confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was presented 05/11/2020. This vulnerability is handled as CVE-2020-11108 since 03/30/2020. The exploitation is known to be easy. The attack may be launched remotely. The successful exploitation needs a simple authentication. Technical details as well as a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1608.002.
The exploit is available at packetstormsecurity.com. It is declared as proof-of-concept.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at Exploit-DB (48519). Once again VulDB remains the best source for vulnerability data.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.4
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Unrestricted uploadCWE: CWE-434 / CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
03/30/2020 🔍05/11/2020 🔍
05/12/2020 🔍
09/07/2024 🔍
Sources
Status: Not definedCVE: CVE-2020-11108 (🔍)
GCVE (CVE): GCVE-0-2020-11108
GCVE (VulDB): GCVE-100-154988
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 05/12/2020 07:44Updated: 09/07/2024 09:58
Changes: 05/12/2020 07:44 (36), 05/12/2020 07:49 (17), 06/26/2024 18:10 (24), 09/07/2024 09:58 (3)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.