REDHAT-BUG-892330: Low severity util-linux mount vulnerability

Published Jan 6, 2013
·
Updated

This was originally reported by Jann Horn (jannhorn):

mount discloses information about folders not accessible for a user:

$ ls -ld /root/.ssh ls: cannot access /root/.ssh: Permission denied $ ls -ld /root/.foo ls: cannot access /root/.foo: Permission denied

First variant:

$ mount --guess-fstype /root/.ssh/../../dev/sda1 ext4 $ mount --guess-fstype /root/.foo/../../dev/sda1 unknown

Second one:

$ mount /root/.ssh/../../dev/cdrom mount: no medium found on /dev/sr0 $ mount /root/.foo/../../dev/cdrom mount: can't find /root/.foo/../../dev/cdrom in /etc/fstab or /etc/mtab

These issues were, as far as I can see, fixed in the following upstream commits: - 0377ef91270d06592a0d4dd009c29e7b1ff9c9b8 - 33c5fd0c5a774458470c86f9d318d8c48a9c9ccb - 5ebbc3865d1e53ef42e5f121c41faab23dd59075 - cc8cc8f32c863f3ae6a8a88e97b47bcd6a21825f

External references: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697464

Affected Software

1 affected component
util-linux mount

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 0377ef91270d06592a0d4dd009c29e7b1ff9c9b8
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 33c5fd0c5a774458470c86f9d318d8c48a9c9ccb
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 5ebbc3865d1e53ef42e5f121c41faab23dd59075
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch cc8cc8f32c863f3ae6a8a88e97b47bcd6a21825f

Event History

Jan 6, 2013
Data Sourced
06:00 PM
DescriptionSeverityAffected Software
Feb 17, 2021
Data Sourced
via Red Hat·08:13 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

A local user who lacks permission to access a directory can use mount path handling to distinguish properties of paths beneath that directory. The examples involve inaccessible paths under /root.

2

What information can be disclosed?

The mount --guess-fstype behavior can reveal whether a constructed path resolves to a device with a recognizable filesystem type, such as ext4, versus an unknown result. Mount error messages can also differ depending on whether the inaccessible path ultimately reaches a device path.

3

How can I check whether a system is affected?

From an unprivileged account, compare mount output for a path traversing an inaccessible directory and containing ../ components with output for a similarly structured nonexistent path. The reported behavior produces distinguishable filesystem-type or error-message results despite direct ls access being denied.

4

What fixes are identified in the available data?

The issue was reported as fixed by upstream commits 0377ef91270d06592a0d4dd009c29e7b1ff9c9b8, 33c5fd0c5a774458470c86f9d318d8c48a9c9ccb, 5ebbc3865d1e53ef42e5f121c41faab23dd59075, and cc8cc8f32c863f3ae6a8a88e97b47bcd6a21825f.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203