🔍 CVE-2026-16087

6.5
CVSS Score
MEDIUM
2026-08-01
2026-08-12 21:00
✅ 완료

🇰🇷 한글 설명

WordPress용 Icegram Engage 플러그인 3.1.42 버전 이하에서 'messages[][id]' 파라미터를 통한 2차 SQL 인젝션 취약점이 발견되었습니다. 인증된 공격자가 악성 SQL 쿼리를 데이터베이스에 저장한 후, 이후 프리뷰 요청 시 이를 실행시켜 민감한 정보를 탈취할 수 있습니다.

💡 쉬운 설명

공격자가 특수한 코드를 데이터베이스에 몰래 저장해 두었다가, 나중에 시스템이 그 코드를 실행하게 만드는 방식의 공격입니다. 이를 통해 해커는 웹사이트의 중요한 정보를 훔쳐갈 수 있습니다.

🇺🇸 원문 (English)

The Icegram Engage – Popups, Optins, CTAs & Lead Generation plugin for WordPress is vulnerable to second-order SQL Injection via 'messages[][id]' Parameter in all versions up to, and including, 3.1.42 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The injection is second-order: the malicious id value is first persisted to post meta via the save_campaign_preview() AJAX action (gated by a nonce check and edit_post capability, requiring Editor-level access or above), and only executed as SQL when a subsequent preview request triggers get_message_data() to interpolate the stored value directly into a SQL IN() clause without $wpdb->prepare() or integer casting.

📍 영향받는 시스템

Icegram Engage – Popups, Optins, CTAs & Lead Generation plugin (v3.1.42 및 그 이하 모든 버전)

⚔️ 공격 벡터

인증된 사용자(기여자 권한 이상)가 AJAX 액션을 통해 악성 ID 값을 저장한 후, 프리뷰 요청을 통해 SQL 쿼리를 실행시키는 2차 공격 방식

🛡️ 대응 방법

플러그인을 최신 버전으로 업데이트하거나, 입력값에 대한 적절한 이스케이프 처리 및 $wpdb->prepare() 사용을 통해 코드를 수정해야 합니다.

🔧 검증 코드

출력 결과에 icegram-engage가 포함되어 있는지 확인하고, 설치된 버전을 체크하여 3.1.42 이하인지 확인합니다.

Shell / Script
wp plugin list --status=active | grep -i 'icegram-engage'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

💻 영향받는 소프트웨어

WordPress