kcve.ai취약점 정보 · 내 서버 확인

CVE-2024-38366 CoacoaPods trunk RCE in email verification system rfc-822

CoacoaPods 트렁크 RCE 이메일 확인 시스템 rfc-822 기계 번역

설명

trunk.cocoapods.org는 CoacoaPods 종속성 관리자의 인증 서버입니다. 사용자가 가입 시 실제 이메일 주소를 가지고 있는지 확인하는 트렁크의 부분은 이메일 도메인 MX 레코드 유효성을 검증하기 위해 쉘 명령을 실행하는 rfc-822 라이브러리를 사용했습니다. DNS MX를 통해 작동합니다. 이 조회는 트렁크 서버에서 명령을 실행하도록 조작될 수 있으며, 효과적으로 서버 및 인프라에 대한 루트 액세스를 제공합니다. 이 문제는 2023년 9월에 001cc3a430e75a16307f5fd6cdff1363ad2f40f3 커밋으로 패치된 서버 측에서 해결되었습니다. 이 RCE는 공격자가 이 방법을 사용하여 트렁크의 모든 Podspec에 쓸 수 있었기 때문에 완전한 사용자 세션 재설정을 트리거했습니다.

기계 번역

원문 보기

trunk.cocoapods.org is the authentication server for the CoacoaPods dependency manager. The part of trunk which verifies whether a user has a real email address on signup used a rfc-822 library which executes a shell command to validate the email domain MX records validity. It works via an DNS MX. This lookup could be manipulated to also execute a command on the trunk server, effectively giving root access to the server and the infrastructure. This issue was patched server-side with commit 001cc3a430e75a16307f5fd6cdff1363ad2f40f3 in September 2023. This RCE triggered a full user-session reset, as an attacker could have used this method to write to any Podspec in trunk.

영향 받는 제품 제품 1개

  • CocoaPods

    CocoaPods

    영향 받는 버전

    • 버전 정보 확인 필요

    해결 버전

    해결된 버전 정보가 없습니다.

‹ 목록

운영 중인 서버의 점검 지원 범위가 궁금하면

도입 문의