Cloudanix VulnDB

CVE-2015-5198

None

CVSS

—

EPSS

0.4%

Published

Sep 8, 2015

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A video playback library on Linux systems can be tricked by local users into running attacker code with full administrative rights.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Low
Impact
Privilege Gain
Component
Library
Class
Privilege Escalation
Remediation
Upgrade
Effort
Low
Patch risk
Low

What it actually does

Local privilege escalation via unsanitized VDPAU_DRIVER_PATH environment variable in setuid or setgid processes that load libvdpau, allowing arbitrary shared library loading and execution with elevated privileges.

Why it matters to the business

Attackers with local access can obtain root-level control on affected systems, leading to data theft, persistence, or full host compromise; older distributions and embedded video workloads remain exposed years after disclosure.

How an attack unfolds

An attacker with a local shell identifies a setuid or setgid binary that links against vulnerable libvdpau, crafts a malicious shared object, exports VDPAU_DRIVER_PATH pointing to that object, then executes the binary; the library is loaded with the process privileges, granting code execution as root or the target user.

How to fix it

Upgrade libvdpau to version 1.1.1 or later on all systems; rebuild or replace any custom setuid/setgid applications that bundle older copies; remove unnecessary setuid/setgid bits from video-related binaries where feasible.

How to confirm the fix worked

Confirm installed libvdpau version is at least 1.1.1; run ldd against setuid binaries and verify they no longer resolve to pre-1.1.1 libraries; test by attempting to set VDPAU_DRIVER_PATH and executing the binary under a non-privileged account to ensure the variable is ignored.

Typical attack path

  1. Locate setuid or setgid binaries that depend on libvdpau
  2. Place a malicious shared library on a writable path
  3. Export VDPAU_DRIVER_PATH to reference the malicious library
  4. Execute the privileged binary to trigger library loading
  5. Obtain elevated shell or execute arbitrary code

How to detect it

Review process creation logs and environment variable captures for occurrences of VDPAU_DRIVER_PATH; inspect setuid binary executions that load unexpected shared objects; correlate with subsequent privilege changes or new root-owned processes.

  • VDPAU_DRIVER_PATH=
  • libvdpau.so
  • setuid.*vdpau
  • /usr/lib/vdpau/

What your security team should do

  • Patch or replace libvdpau immediately on any host still running versions before 1.1.1
  • Audit and minimize use of setuid/setgid binaries that depend on video libraries
  • Enable environment-variable sanitization policies for privileged processes
  • Monitor package managers for any remaining dependent packages that pull in vulnerable libvdpau

The record

libvdpau before 1.1.1, when used in a setuid or setgid application, allows local users to gain privileges via unspecified vectors, related to the VDPAU_DRIVER_PATH environment variable.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 libvdpau 0 1.1.1-1
Debian:12 libvdpau 0 1.1.1-1
Debian:13 libvdpau 0 1.1.1-1
Debian:6.0 libvdpau 0 0.4.1-2+deb6u1
Debian:7 libvdpau 0 0.4.1-7+deb7u1
Debian:8 libvdpau 0 0.8-3+deb8u1
Mageia:4 libvdpau 0 1.1.1-1.mga4
Mageia:5 libvdpau 0 1.1.1-1.mga5
SUSE:Linux Enterprise Desktop 11 SP3 libvdpau 0 0.4.1-16.20.2
SUSE:Linux Enterprise Desktop 11 SP4 libvdpau 0 0.4.1-16.20.2
SUSE:Linux Enterprise Desktop 12 libvdpau 0 0.8-3.1
SUSE:Linux Enterprise Server 12 libvdpau 0 0.8-3.1
SUSE:Linux Enterprise Server for SAP Applications 12 libvdpau 0 0.8-3.1
SUSE:Linux Enterprise Software Development Kit 12 libvdpau 0 0.8-3.1
SUSE:Linux Enterprise Workstation Extension 12 libvdpau 0 0.8-3.1
Ubuntu:14.04:LTS libvdpau 0 0.7-1ubuntu0.1

Related vulnerabilities