Vulnerabilities

CVE-2025-0374

Medium 6.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-01-30
Last modified
2026-06-17
Assigned by
secteam@freebsd.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Probability of exploitation
0.3 % higher than 22 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
FreeBSD FreeBSD ≥ 13.4-RELEASE, < p3 Affected
FreeBSD FreeBSD ≥ 14.1-RELEASE, < p7 Affected
FreeBSD FreeBSD ≥ 14.2-RELEASE, < p1 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1083: File and Directory Discovery discovery
  • T1134.001: Token Impersonation/Theft stealth, privilege-escalation
  • T1505.005: Terminal Services DLL persistence
  • T1548: Abuse Elevation Control Mechanism privilege-escalation
  • T1550.004: Web Session Cookie lateral-movement
  • T1553.002: Code Signing defense-impairment
  • T1554: Compromise Host Software Binary persistence
  • T1574.005: Executable Installer File Permissions Weakness stealth, execution
  • T1574.010: Services File Permissions Weakness stealth, execution

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities