{"id":"CVE-2025-0374","state":"PUBLISHED","title":"Unprivileged access to system files","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.\n\nAn 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.","publishedAt":"2025-01-30T04:49:07.687Z","updatedAt":"2025-02-07T17:02:52.274Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP"},"assigner":"freebsd","products":["FreeBSD FreeBSD"],"affected":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"version":"14.2-RELEASE","status":"affected","lessThan":"p1","versionType":"release"},{"version":"14.1-RELEASE","status":"affected","lessThan":"p7","versionType":"release"},{"version":"13.4-RELEASE","status":"affected","lessThan":"p3","versionType":"release"}],"modules":["etcupdate"]}],"references":["https://security.freebsd.org/advisories/FreeBSD-SA-25:03.etcupdate.asc","https://security.netapp.com/advisory/ntap-20250207-0007/"],"weaknesses":["CWE-732"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/0xxx/CVE-2025-0374.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-0374","state":"PUBLISHED","datePublished":"2025-01-30T04:49:07.687Z","dateUpdated":"2025-02-07T17:02:52.274Z","assignerShortName":"freebsd","assignerOrgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateReserved":"2025-01-10T08:54:23.906Z"},"containers":{"cna":{"title":"Unprivileged access to system files","descriptions":[{"lang":"en","value":"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.\n\nAn 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":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"version":"14.2-RELEASE","status":"affected","lessThan":"p1","versionType":"release"},{"version":"14.1-RELEASE","status":"affected","lessThan":"p7","versionType":"release"},{"version":"13.4-RELEASE","status":"affected","lessThan":"p3","versionType":"release"}],"modules":["etcupdate"]}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-25:03.etcupdate.asc","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-732","description":"CWE-732 Incorrect Permission Assignment for Critical Resource","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"freebsd","orgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateUpdated":"2025-01-30T04:49:07.687Z"},"datePublic":"2025-01-29T21:45:18.000Z","credits":[{"lang":"en","type":"finder","value":"Christos Chatzaras"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.5,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-02-05T15:41:16.838358Z","id":"CVE-2025-0374","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-05T15:43:07.693Z"}},{"title":"CVE Program Container","references":[{"url":"https://security.netapp.com/advisory/ntap-20250207-0007/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-02-07T17:02:52.274Z"}}]}}}