🇰🇷 한글 설명
WordPress의 Icegram Mailer 플러그인 1.0.12 이하 버전에서 'fields' 파라미터를 통한 SQL 인젝션 취약점이 발견되었습니다. Icegram_Mailer_Logs_Table::get_logs() 함수 내에서 사용자 입력값이 적절한 검증이나 이스케이프 처리 없이 SQL 쿼리에 직접 결합되어 발생합니다. 이를 통해 관리자 권한을 가진 공격자가 데이터베이스의 민감한 정보를 추출할 수 있습니다.
💡 쉬운 설명
워드프레스의 이메일 관련 플러그인에서 데이터베이스 명령어를 조작할 수 있는 보안 약점이 발견되었습니다. 관리자 권한을 가진 사용자가 이 약점을 악용하면 데이터베이스에 저장된 중요한 정보를 몰래 빼낼 수 있습니다.
🇺🇸 원문 (English)
The Icegram Mailer plugin for WordPress is vulnerable to SQL Injection via the 'fields' parameter in versions up to, and including, 1.0.12. This is due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query in the Icegram_Mailer_Logs_Table::get_logs() function, where each element of the `fields` array received from $_REQUEST['data'] is joined verbatim into the SELECT clause via implode() with no whitelist, escaping, or prepared-statement placeholder. This makes it possible for authenticated attackers, with Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
📍 영향받는 시스템
WordPress Icegram Mailer plugin versions up to and including 1.0.12
⚔️ 공격 벡터
인증된 관리자 권한을 이용한 'fields' 파라미터 내 SQL 쿼리 삽입
🛡️ 대응 방법
Icegram Mailer 플러그인을 최신 버전으로 업데이트하거나, 입력값에 대한 화이트리스트 검증 및 Prepared Statement를 적용해야 합니다.
🔧 검증 코드
출력된 버전 번호가 1.0.12와 같거나 그보다 낮은지 확인하십시오.
wp plugin list --name icegram-mailer --format=json | grep -oP '(?<=version":")[^"]+'