Paper/Archive/CVE-2024-38367

CVE-2024-38367

CocoaPods CocoaPods — CoacoaPods trunk sessions verification step could be manipulated for owner session hijacking

Description · from the CVE record

trunk.cocoapods.org is the authentication server for the CoacoaPods dependency manager. Prior to commit d4fa66f49cedab449af9a56a21ab40697b9f7b97, the trunk sessions verification step could be manipulated for owner session hijacking Compromising a victim’s session will result in a full takeover of the CocoaPods trunk account. The threat actor could manipulate their pod specifications, disrupt the distribution of legitimate libraries, or cause widespread disruption within the CocoaPods ecosystem. This was patched server-side with commit d4fa66f49cedab449af9a56a21ab40697b9f7b97 in October 2023.

Affected

ProductAffectedFixed inSource
CocoaPods< d4fa66f49cedab449af9a56a21ab40697b9f7b97–CNA
cocoapods< d4fa66f49cedab449af9a56a21ab40697b9f7b97d4fa66f49cedab449af9a56a21ab40697b9f7b97CISA-ADP

Scores by source

NVD9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
GitHub_M (CNA)8.2CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: partial

References

refgithub.com/CocoaPods/CocoaPods/security/advisories/GHSA-52gf-m7v9-m333refgithub.com/CocoaPods/trunk.cocoapods.org/commit/d4fa66f49cedab449af9a56a21ab40697b9f7b97refblog.cocoapods.org/CocoaPods-Trunk-RCEs-2023refevasec.io/blog/eva-discovered-supply-chain-vulnerabities-in-cocoapods#vulnerability-3-achieving-zero-click-account-takeover-by-defeating-email-security-boundaries