Cross-site scripting in Pi-hole



Published: 2020-12-29
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2020-35659
CWE ID CWE-79
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Pi-hole
Web applications / Modules and components for CMS

Vendor Pi-hole

Security Advisory

This security advisory describes one medium risk vulnerability.

1) Sored cross-site scripting

Risk: Medium

CVSSv3.1: 5.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2020-35659

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data within DNS query log. A remote attacker can permanently inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website, when the Pi-hole administrator visits the Query Log or Long-term data Query Log page.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Pi-hole: 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.5.1, 2.5.2, 2.5.3, 2.6, 2.6.1, 2.6.1.1, 2.6.1.2, 2.6.2, 2.6.3, 2.7, 2.7.1, 2.8, 2.8.1, 2.9, 2.9.1, 2.9.2, 2.9.3, 2.9.4, 2.9.5, 2.10, 2.10.1, 2.10.2, 2.11, 2.11.1, 2.11.2, 2.12, 2.12.1, 2.13, 2.13.1, 2.13.2, 3.0, 3.0.1, 3.1, 3.1.4, 3.2, 3.2.1, 3.3, 3.3.1, 4.0, 4.1, 4.1.1, 4.2, 4.2.1, 4.2.2, 4.3, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.4, 5.0, 5.1, 5.1.1, 5.1.2, 5.2, 5.2.1

CPE External links

https://blog.mirch.io/2020/12/24/pihole-xss/
https://discourse.pi-hole.net/t/pi-hole-core-web-v5-2-2-and-ftl-v5-3-3-released/41998
https://github.com/pi-hole/AdminLTE/pull/1665

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###