OpensuseOperating system

CVE-2011-0461

MEDIUM · 6.3 CVSS v2.0 Published 2011-04-04
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
68/100
Remediation priority · Elevated
No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
/etc/init.d/boot.localfs in the aaa_base package before 11.2-43.48.1 in SUSE openSUSE 11.2, and before 11.3-8.7.1 in openSUSE 11.3, allows local users to overwrite arbitrary files via a symlink attack on /dev/shm/mtab.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The /etc/init.d/boot.localfs init script in the aaa_base package writes to /dev/shm/mtab without checking if it is a symlink. A local user can create a malicious symlink at /dev/shm/mtab pointing to any target file before the script runs, causing arbitrary file overwrite when the script executes.

MitigationEither upgrade the aaa_base package to the patched versions (11.2-43.48.1+ or 11.3-8.7.1+), or remove/replace /dev/shm/mtab with a regular file and set restrictive permissions to prevent symlink attacks.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
OpensuseOperating system
Affected:= 11.2= 11.3

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
M
Authentication
None
Confidentiality
None
Integrity
Complete
Availability
Complete

AV:L/AC:M/Au:N/C:N/I:C/A:C

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check if /dev/shm/mtab is a symlink
    Run `ls -la /dev/shm/mtab` and look at the first character - if it starts with 'l', it is a symlink.
    Affected if The file is a symlink pointing to a target outside /dev/shm/ (the first character is 'l' and the symlink target is not within /dev/shm/)
  2. Identify the target of /dev/shm/mtab symlink
    If /dev/shm/mtab is a symlink, run `readlink -f /dev/shm/mtab` to see the absolute target path.
    Affected if The symlink target points to a sensitive system file such as /etc/mtab, /etc/passwd, or other critical configuration files
  3. Check aaa_base package version on openSUSE 11.2
    Run `rpm -q aaa_base` to get the installed version, then compare to 11.2-43.48.1
    Affected if The installed version is older than 11.2-43.48.1 (for example, 11.2-43.48 or earlier)
  4. Check aaa_base package version on openSUSE 11.3
    Run `rpm -q aaa_base` to get the installed version, then compare to 11.3-8.7.1
    Affected if The installed version is older than 11.3-8.7.1 (for example, 11.3-8.6 or earlier)
  5. Inspect the boot.localfs script for symlink vulnerability
    Examine /etc/init.d/boot.localfs and search for code that writes to /dev/shm/mtab without first checking if it is a symlink. Look for file operations on /dev/shm/mtab that occur before any symlink validation.
    Affected if The script contains direct write operations to /dev/shm/mtab without first verifying that it is not a symlink (no 'test -L' or similar check before file creation/writing)

You are affected if /dev/shm/mtab exists as a symlink (especially one pointing outside /dev/shm/) AND your aaa_base package version is below 11.2-43.48.1 (for 11.2) or 11.3-8.7.1 (for 11.3), or if the boot.localfs script lacks symlink checks before writing.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Either upgrade the aaa_base package to the patched versions (11.2-43.48.1+ or 11.3-8.7.1+), or remove/replace /dev/shm/mtab with a regular file and set restrictive permissions to prevent symlink attacks.

Fix this in Opensuse Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing1.0 h
  • Review / QA1.0 h
6.0 hours of engineering $1,090
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,744.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2011-0461 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2011-0461 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data