File Conflict Vulnerability in FreeBSD etcupdate Utility
CVE-2025-0374

6.5MEDIUM

Key Information:

Vendor

FreeBSD

Status
Vendor
CVE Published:
30 January 2025

What is CVE-2025-0374?

The etcupdate utility in FreeBSD has a vulnerability that arises during the process of file merging when conflicts occur. Specifically, when etcupdate encounters merging conflicts, it creates a version of the affected file that contains conflict markers, which is then saved in a public directory. This temporary file, located at /var/db/etcupdate/conflicts, is world-readable and fails to maintain the original file's restricted permissions. As a result, an unprivileged local user may exploit this condition to access sensitive information, such as encrypted root and user passwords, from the temporary master.passwd file. This risk is limited to scenarios where conflicts within the password file occur during updates, and the vulnerability is resolved once the conflicts are cleared and the file is deleted.

Affected Version(s)

FreeBSD 14.2-RELEASE

FreeBSD 14.1-RELEASE

FreeBSD 13.4-RELEASE

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Christos Chatzaras
.