Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-0374 EUVD-2025-1635GHSA-2ffg-9hw7-35q4

Unprivileged access to system files

Published Jan 30, 2025 · Updated Feb 7, 2025 · Assigned by freebsd

Description

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.

Affected products

VendorProductAffectedFixed
FreeBSD FreeBSD 14.2-RELEASE – < p1, 14.1-RELEASE – < p7, 13.4-RELEASE – < p3 p1

Advisories 1

References