CVE-2020-13696
Linuxtv Xawtv vulnerability
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.
Affected products
Xawtv, Debian Linux, Backports Sle, Leap, Fedora, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linuxtv Xawtv runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.linuxtv.org/xawtv3.git/commit/?id=31f31f9cbaee7be806cba38e0ff5431bd44b20a3 · Patch
- git.linuxtv.org/xawtv3.git/commit/?id=36dc44e68e5886339b4a0fbe3f404fb1a4fd2292 · Patch
- git.linuxtv.org/xawtv3.git/commit/?id=8e3feea862db68d3ca0886f46cd99fab45d2db7c · Patch
- lists.opensuse.org/opensuse-security-announce/2020-06/msg00009.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-06/msg00013.html · Third Party Advisory
- www.openwall.com/lists/oss-security/2020/06/04/6 · Third Party Advisory
- bugzilla.suse.com/show_bug.cgi?id=CVE-2020-13696 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2020/06/msg00018.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-13696
- cve.org/CVERecord?id=CVE-2020-13696
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.