🇰🇷 한글 설명
WordPress용 Mail Mint 플러그인의 REST API 엔드포인트에서 SQL 인젝션 취약점이 발견되었습니다. 'filters' 파라미터의 'value' 값이 적절히 이스케이프되지 않아, 인증된 공격자가 데이터베이스에 추가적인 SQL 쿼리를 삽입하여 민감한 정보를 추출할 수 있습니다.
💡 쉬운 설명
플러그인의 특정 기능에 입력한 값이 데이터베이스 명령어로 잘못 해석될 수 있는 보안 약점이 있습니다. 이를 통해 권한을 가진 사용자가 데이터베이스에 저장된 중요한 정보를 몰래 빼낼 수 있습니다.
🇺🇸 원문 (English)
The Mail Mint plugin for WordPress is vulnerable to SQL Injection via the 'filters' parameter of the /wp-json/mrm/v1/segments/contacts REST endpoint in versions up to, and including, 1.31.4 This is due to insufficient escaping on the user supplied filter 'value' before it is appended to a SQL query in SegmentFilterService::get_meta_join_query() at line 797, where the value is string-interpolated into the WHERE fragment in a numeric (unquoted) context and the surrounding $wpdb->prepare() calls do not cover the injected value. This makes it possible for authenticated attackers, with the custom 'mint_read_contacts' capability (granted to Administrators by default, and configurable to lower roles via the plugin's role manager), to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
📍 영향받는 시스템
Mail Mint plugin for WordPress (버전 1.31.4 이하)
⚔️ 공격 벡터
인증된 공격자가 /wp-json/mrm/v1/segments/contacts 엔드포인트의 'filters' 파라미터에 조작된 SQL 구문을 삽입
🛡️ 대응 방법
Mail Mint 플러그인을 최신 버전으로 업데이트하여 입력값 검증 및 이스케이프 처리를 적용하십시오.
🔧 검증 코드
명령어 결과에 mail-mint가 나타나면 플러그인이 설치된 것이며, 설치된 버전을 확인하여 1.31.4 이하인지 점검하십시오.
wp plugin list --status=active | grep -i 'mail-mint'