{"id":"CVE-2024-7457","state":"PUBLISHED","title":"macOS Stash network-management utility: Unauthorized Manipulation of System Network Preferences","description":"The ws.stash.app.mac.daemon.helper tool contains a vulnerability caused by an incorrect use of macOS’s authorization model. Instead of validating the client's authorization reference, the helper invokes AuthorizationCopyRights() using its own privileged context (root), effectively authorizing itself rather than the client. As a result, it grants the system.preferences.admin right internally, regardless of the requesting client's privileges. This flawed logic allows unprivileged clients to invoke privileged operations via XPC, including unauthorized changes to system-wide network preferences such as SOCKS, HTTP, and HTTPS proxy settings. The absence of proper code-signing checks further enables arbitrary processes to exploit this flaw, leading to man-in-the-middle (MITM) attacks through traffic redirection.","publishedAt":"2025-06-10T23:19:47.186Z","updatedAt":"2025-06-11T13:52:22.705Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Pentraze"},"assigner":"Pentraze","products":["Stash Stash"],"affected":[{"vendor":"Stash","product":"Stash","packageName":"ws.stash.app.mac.daemon.helper","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"build 303","versionType":"custom"}],"collectionURL":"https://stash.ws/","platforms":["MacOS"]}],"references":["https://pentraze.com/"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/7xxx/CVE-2024-7457.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-7457","state":"PUBLISHED","datePublished":"2025-06-10T23:19:47.186Z","dateUpdated":"2025-06-11T13:52:22.705Z","assignerShortName":"Pentraze","assignerOrgId":"41c37e40-543d-43a2-b660-2fee83ea851a","dateReserved":"2024-08-04T02:47:51.335Z"},"containers":{"cna":{"title":"macOS Stash network-management utility: Unauthorized Manipulation of System Network Preferences","descriptions":[{"lang":"en","value":"The ws.stash.app.mac.daemon.helper tool contains a vulnerability caused by an incorrect use of macOS’s authorization model. Instead of validating the client's authorization reference, the helper invokes AuthorizationCopyRights() using its own privileged context (root), effectively authorizing itself rather than the client. As a result, it grants the system.preferences.admin right internally, regardless of the requesting client's privileges. This flawed logic allows unprivileged clients to invoke privileged operations via XPC, including unauthorized changes to system-wide network preferences such as SOCKS, HTTP, and HTTPS proxy settings. The absence of proper code-signing checks further enables arbitrary processes to exploit this flaw, leading to man-in-the-middle (MITM) attacks through traffic redirection."}],"affected":[{"vendor":"Stash","product":"Stash","packageName":"ws.stash.app.mac.daemon.helper","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"build 303","versionType":"custom"}],"collectionURL":"https://stash.ws/","platforms":["MacOS"]}],"references":[{"url":"https://pentraze.com/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","description":"CWE-863 Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Pentraze","orgId":"41c37e40-543d-43a2-b660-2fee83ea851a","dateUpdated":"2025-06-10T23:19:47.186Z"},"credits":[{"lang":"en","type":"finder","value":"Carlos Garrido of Pentraze Cybersecurity"}],"datePublic":"2025-06-10T16:00:00.000Z","impacts":[{"capecId":"CAPEC-233","descriptions":[{"lang":"en","value":"CAPEC-233 Privilege Escalation"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-11T13:52:10.272705Z","id":"CVE-2024-7457","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-06-11T13:52:22.705Z"}}]}}}