Auth bypass in Linuxtv Xawtv
CVE-2020-13696
An issue was discovered in LinuxTV xawtv before 3.107. The function dev_open() in v4l-conf.c does not perform sufficient checks to prevent an unprivileged caller of the program from opening unintended filesystem paths. This allows a local attacker with access to the v4l-conf setuid-root program to test for the existence of arbitrary files and to trigger an open on arbitrary files with mode O_RDWR. To achieve this, relative path components need to be added to the device path, as demonstrated by a v4l-conf -c /dev/../root/.bash_history command.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.4 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.004, 29.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linuxtv Xawtv
- Canonical Ubuntu Linux — versions 16.04
- Debian Linux — versions 8.0
- Fedoraproject Fedora — versions 31, 32
- openSUSE Backports Sle — versions 15.0
- openSUSE Leap — versions 15.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.linuxtv.org/xawtv3.git/commit/ (Patch, Vendor Advisory)
- git.linuxtv.org/xawtv3.git/commit/ (Patch, Vendor Advisory)
- git.linuxtv.org/xawtv3.git/commit/ (Patch, Vendor Advisory)
- bugzilla.suse.com/show_bug.cgi (Third Party Advisory, Issue Tracking, Broken Link)
- www.openwall.com/lists/oss-security/2020/06/04/6 (Mailing List, Third Party Advisory, Issue Tracking)
- openSUSE-SU-2020:0784 (vendor-advisory, Mailing List, Third Party Advisory)
- openSUSE-SU-2020:0787 (vendor-advisory, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20200612 [SECURITY] [DLA 2246-1] xawtv security update (mailing-list, Mailing List, Third Party Advisory)
- USN-4518-1 (vendor-advisory, Third Party Advisory)
- FEDORA-2020-cd5ad916e4 (vendor-advisory)