{"id":"CVE-2025-2157","state":"PUBLISHED","title":"Foreman: disclosure of executed commands and outputs in foreman / red hat satellite","description":"A flaw was found in Foreman/Red Hat Satellite. Improper file permissions allow low-privileged OS users to monitor and access temporary files under /var/tmp, exposing sensitive command outputs, such as /etc/shadow. This issue can lead to information disclosure and privilege escalation if exploited effectively.","publishedAt":"2025-03-15T06:35:52.221Z","updatedAt":"2025-11-21T07:08:05.036Z","severity":{"score":3.3,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","source":"redhat"},"assigner":"redhat","products":["Red Hat Satellite Server","Red Hat Red Hat Satellite 6"],"affected":[{"vendor":"Red Hat","product":"Satellite Server","packageName":"foreman","defaultStatus":"unknown","versions":[{"version":"6.16","status":"affected","versionType":"semver"},{"version":"6.17","status":"affected","versionType":"semver"}]},{"vendor":"Red Hat","product":"Red Hat Satellite 6","packageName":"foreman","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:satellite:6"]}],"references":["https://access.redhat.com/security/cve/CVE-2025-2157","https://bugzilla.redhat.com/show_bug.cgi?id=2351092"],"weaknesses":["CWE-922"],"ingestedAt":"2026-10-29T20:08:55.257Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/2xxx/CVE-2025-2157.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-2157","state":"PUBLISHED","datePublished":"2025-03-15T06:35:52.221Z","dateUpdated":"2025-11-21T07:08:05.036Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2025-03-10T12:20:21.761Z"},"containers":{"cna":{"title":"Foreman: disclosure of executed commands and outputs in foreman / red hat satellite","descriptions":[{"lang":"en","value":"A flaw was found in Foreman/Red Hat Satellite. Improper file permissions allow low-privileged OS users to monitor and access temporary files under /var/tmp, exposing sensitive command outputs, such as /etc/shadow. This issue can lead to information disclosure and privilege escalation if exploited effectively."}],"affected":[{"vendor":"Red Hat","product":"Satellite Server","packageName":"foreman","defaultStatus":"unknown","versions":[{"version":"6.16","status":"affected","versionType":"semver"},{"version":"6.17","status":"affected","versionType":"semver"}]},{"vendor":"Red Hat","product":"Red Hat Satellite 6","packageName":"foreman","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:satellite:6"]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-2157","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2351092","name":"RHBZ#2351092","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Low","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":3.3,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-922","description":"Insecure Storage of Sensitive Information","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2025-11-21T07:08:05.036Z"},"datePublic":"2025-03-13T17:58:25.504Z","x_redhatCweChain":"CWE-922: Insecure Storage of Sensitive Information","timeline":[{"lang":"en","time":"2025-03-10T12:19:37.075Z","value":"Reported to Red Hat."},{"lang":"en","time":"2025-03-13T17:58:25.504Z","value":"Made public."}],"credits":[{"lang":"en","value":"Red Hat would like to thank Fabian Würfl (SEC Consult Vulnerability Lab) for reporting this issue."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-17T16:53:06.559411Z","id":"CVE-2025-2157","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-17T16:53:13.910Z"}}]}}}