CVE-2020-28935

CVSS V2 Low 2.1 CVSS V3 Medium 5.5
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.
Overview
  • CVE ID
  • CVE-2020-28935
  • Assigner
  • sep@nlnetlabs.nl
  • Vulnerability Status
  • Modified
  • Published Version
  • 2020-12-07T22:15:20
  • Last Modified Date
  • 2023-03-29T15:15:07
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:nlnetlabs:name_server_daemon:*:*:*:*:*:*:*:* 1 OR 4.3.4
cpe:2.3:a:nlnetlabs:unbound:*:*:*:*:*:*:*:* 1 OR 1.13.0
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:L/AC:L/Au:N/C:N/I:N/A:P
  • Access Vector
  • LOCAL
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • NONE
  • Availability Impact
  • PARTIAL
  • Base Score
  • 2.1
  • Severity
  • LOW
  • Exploitability Score
  • 3.9
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Attack Vector
  • LOCAL
  • Attack Compatibility
  • LOW
  • Privileges Required
  • LOW
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • NONE
  • Availability Impact
  • HIGH
  • Base Score
  • 5.5
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 1.8
  • Impact Score
  • 3.6
History
Created Old Value New Value Data Type Notes
2022-05-10 07:23:22 Added to TrackCVE
2022-12-05 17:39:24 2020-12-07T22:15Z 2020-12-07T22:15:20 CVE Published Date updated
2022-12-05 17:39:24 2022-10-12T14:29:15 CVE Modified Date updated
2022-12-05 17:39:24 Analyzed Vulnerability Status updated
2023-03-31 06:12:17 2023-03-29T15:15:07 CVE Modified Date updated
2023-03-31 06:12:17 Analyzed Modified Vulnerability Status updated
2023-03-31 06:12:17 References updated