vendor:
aptdaemon
by:
Vaisha Bernard
5.5
CVSS
MEDIUM
Sensitive Information Disclosure
20
CWE
Product Name: aptdaemon
Affected Version From: aptdaemon < 1.1.1+bzr982-0ubuntu32.1
Affected Version To: aptdaemon < 1.1.1+bzr982-0ubuntu32.1
Patch Exists: YES
Related CWE: CVE-2015-1323
CPE: a:debian:debian_linux:9
Other Scripts:
N/A
Platforms Tested: Ubuntu 16.04 - 20.04, Debian 9 - 11
2020
File Existence Disclosure in aptdaemon <= 1.1.1+bzr982-0ubuntu32.1
There is no input validation on the Locale property in an apt transaction. An unprivileged user can supply a full path to a writable directory, which lets aptd read a file as root. Having a symlink in place results in an error message if the file exists, and no error otherwise. This way an unprivileged user can check for the existence of any files on the system as root.
Mitigation:
Input validation should be implemented to prevent unprivileged users from supplying a full path to a writable directory.