Free and open-source vulnerability scanner

Mageni eases for you the vulnerability scanning, assessment, and management process. It is free and open-source.

Install Now

Available for macOS, Windows, and Linux

App screenshot

Pi-hole Ad-Blocker <= 5.0 XSS Vulnerability

Information

Severity

Severity

Medium

Family

Family

Web application abuses

CVSSv2 Base

CVSSv2 Base

5.5

CVSSv2 Vector

CVSSv2 Vector

AV:N/AC:L/Au:S/C:P/I:P/A:N

Solution Type

Solution Type

None Solution Available

Created

Created

3 years ago

Modified

Modified

3 years ago

Summary

The Pi-hole Ad-Blocker is prone to a cross-site scripting vulnerability in piholedhcp.

Insight

Insight

Pi-hole allows code injection in piholedhcp (the Static DHCP Leases section) by modifying Teleporter backup files and then restoring them. This occurs in settings.php. To exploit this, an attacker would request a backup of limited files via teleporter.php. These are placed into a .tar.gz archive. The attacker then modifies the host parameter in dnsmasq.d files, and then compresses and uploads these files again.

Affected Software

Affected Software

Pi-hole Ad-Blocker version 5.0 and prior.

Detection Method

Detection Method

Checks if a vulnerable version is present on the target host.

Solution

Solution

No known solution is available as of 26th June, 2020. Information regarding this issue will be updated once solution details are available.

Common Vulnerabilities and Exposures (CVE)