5.2.18 이전 PHPMailer의 isMail transport에 있는 mailSend 함수는 원격 공격자가 조작된 Sender 속성의 \"(백슬래시 큰따옴표)를 통해 mail 명령에 추가 매개변수를 전달하고, 그 결과 임의 코드를 실행할 수 있게 할 가능성이 있습니다.
5.2.18 이전 PHPMailer의 isMail transport에 있는 mailSend 함수는 원격 공격자가 조작된 Sender 속성의 \"(백슬래시 큰따옴표)를 통해 mail 명령에 추가 매개변수를 전달하고, 그 결과 임의 코드를 실행할 수 있게 할 가능성이 있습니다.
한국어 설명은 영문 원문을 기준으로 제공됩니다. 제품명·버전·보안 식별자는 아래 원문과 함께 확인할 수 있습니다.
영문 원문 보기
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code via a \" (backslash double quote) in a crafted Sender property.
영향 제품·버전
제품 PHP PHPMailer
영향 버전 PHP PHPMailer < 5.2.18, <= 4.7, >= 1.5.0 <= 3.6.5
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
조치 기한: 2025.07.28
해당사항 확인방법
PHP PHPMailer의 현재 전체 버전이 공식 영향 범위(PHP PHPMailer < 5.2.18, <= 4.7, >= 1.5.0 <= 3.6.5)에 포함되는지 확인합니다. OS를 선택하면 해당 OS의 제품·패키지·KB·APAR 확인 명령만 표시됩니다.
조치방안
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
조치 후 확인사항
패치 후 같은 명령으로 전체 버전을 다시 확인해 PHP PHPMailer 5.2.18 기준을 충족하는지 확인합니다. 이어서 명령어·코드 인젝션 관련 오류·공격 흔적이 새로 발생하지 않는지 확인합니다.
필드별 과거 원문을 추정하지 않습니다. 각 시점의 현재 값과 공식 출처를 대조해 변경 여부를 확인하세요.
기술 정보
CVSS 벡터 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-77, CWE-88
KEV 등록일 2025.07.07
랜섬웨어 캠페인 사용 미확인
CISA 비고 This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18 ; https://github.com/advisories/GHSA-5f37-gxvh-23v6 ; https://nvd.nist.gov/vuln/detail/CVE-2016-10033