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.
History

Fri, 07 Feb 2025 17:45:00 +0000

Type Values Removed Values Added
References

Wed, 05 Feb 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 30 Jan 2025 05:00:00 +0000

Type Values Removed Values Added
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.
Title Unprivileged access to system files
Weaknesses CWE-732
References

cve-icon MITRE

Status: PUBLISHED

Assigner: freebsd

Published:

Updated: 2025-02-07T17:02:52.274Z

Reserved: 2025-01-10T08:54:23.906Z

Link: CVE-2025-0374

cve-icon Vulnrichment

Updated: 2025-02-07T17:02:52.274Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-01-30T05:15:10.527

Modified: 2025-02-07T17:15:30.903

Link: CVE-2025-0374

cve-icon Redhat

No data.