Skip to main content
← All vulnerabilities
CVE-2025-0374

Unprivileged access to system files

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in p1, p7, p3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

When etcupdate encounters conflicts while merging files, it saves a version containing conflict markers in /var/db/etcupdate/conflicts. This version does not preserve the mode of the input file, and is world-readable. This applies to files that would normally have restricted visibility, such as /etc/master.passwd. An unprivileged local user may be able to read encrypted root and user passwords from the temporary master.passwd file created in /var/db/etcupdate/conflicts. This is possible only when conflicts within the password file arise during an update, and the unprotected file is deleted when conflicts are resolved.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • FreeBSD FreeBSD

    From 14.2-RELEASE · fixed in p1; From 14.1-RELEASE · fixed in p7; From 13.4-RELEASE · fixed in p3

References 1

security.freebsd.org