CVE-2020-28935
Last modified
CVE-2020-28935 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. NLnet Labs Unbound, up to and including version 1.12.0, and NLnet Labs NSD, up to and including version 4.3.3, contain a local vulnerability that would allow for a local symlink attack. When writing the PID file, Unbound and NSD create the file if it is not there, or open an existing file for writing. EPSS estimates a 0.48% chance of exploitation in the next 30 days.
Description
NLnet Labs Unbound, up to and including version 1.12.0, and NLnet Labs NSD, up to and including version 4.3.3, contain a local vulnerability that would allow for a local symlink attack. When writing the PID file, Unbound and NSD create the file if it is not there, or open an existing file for writing. In case the file was already present, they would follow symlinks if the file happened to be a symlink instead of a regular file. An additional chown of the file would then take place after it was written, making the user Unbound/NSD is supposed to run as the new owner of the file. If an attacker has local access to the user Unbound/NSD runs as, she could create a symlink in place of the PID file pointing to a file that she would like to erase. If then Unbound/NSD is killed and the PID file is not cleared, upon restarting with root privileges, Unbound/NSD will rewrite any file pointed at by the symlink. This is a local vulnerability that could create a Denial of Service of the system Unbound/NSD is running on. It requires an attacker having access to the limited permission user Unbound/NSD runs as and point through the symlink to a critical file on the system.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nlnetlabs | Name Server Daemon | < 4.3.4 |
| Nlnetlabs | Unbound | < 1.13.0 |
| Debian | Debian Linux | 9.0 |
References
- https://lists.debian.org/debian-lts-announce/2021/02/msg00017.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202101-38Third Party Advisory
- https://www.nlnetlabs.nl/downloads/nsd/CVE-2020-28935.txtVendor Advisory
- https://lists.debian.org/debian-lts-announce/2021/02/msg00017.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202101-38Third Party Advisory
- https://www.nlnetlabs.nl/downloads/nsd/CVE-2020-28935.txtVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-28935?
How severe is CVE-2020-28935?
How do I fix CVE-2020-28935?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-28927There is a Stored XSS in Magicpin v2.1 in the User Registrat…6.1
- CVE-2020-28928In musl libc through 1.2.1, wcsnrtombs mishandles particular…5.5
- CVE-2020-28929Unrestricted access to the log downloader functionality in E…9.8
- CVE-2020-2893Vulnerability in the MySQL Server product of Oracle MySQL (c…4.9
- CVE-2020-28930A Cross-Site Scripting (XSS) issue in the 'update user' and …5.4
- CVE-2020-28931Lack of an anti-CSRF token in the entire administrative inte…8.8
- CVE-2020-28937OpenClinic version 0.8.2 is affected by a missing authentica…7.5
- CVE-2020-28938OpenClinic version 0.8.2 is affected by a stored XSS vulnera…5.4
- CVE-2020-28939OpenClinic version 0.8.2 is affected by a medical/test_new.p…7.2
- CVE-2020-2894Vulnerability in the Oracle VM VirtualBox product of Oracle …6
- CVE-2020-28940On Western Digital My Cloud OS 5 devices before 5.06.115, th…9.8
- CVE-2020-28941An issue was discovered in drivers/accessibility/speakup/spk…5.5
Are you affected by CVE-2020-28935?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
