Skip to content
OpenAdvisories
Unscored Public exploit CVE-2012-1586 EUVD-2012-1602GHSA-pm5w-chj8-22cj

mount.cifs in cifs-utils 2.6 allows local users to determine the existence of arbitrary files or directories via the file path in the secon…

Published Aug 27, 2012 · Updated Aug 6, 2024 · Assigned by redhat

Description

mount.cifs in cifs-utils 2.6 allows local users to determine the existence of arbitrary files or directories via the file path in the second argument, which reveals their existence in an error message.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cifs-utils 2:5.3-2 —
Debian 13 cifs-utils 2:5.3-2 —
Debian 12 cifs-utils 2:5.3-2 —
ReleasePackageFixed inAdvisory
RHEL 6 cifs-utils 4.8.1-10.el6 RHSA-2012:0902
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cifs-utils 6.5-1.5 openSUSE-SU-2024:10334-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References