🇰🇷 한글 설명
WordPress용 Unlimited Elements For Elementor 플러그인의 getWhereString() 함수 내 'addontype' 파라미터에서 SQL 인젝션 취약점이 발견되었습니다. 공격자가 배열 형태의 파라미터를 전송하면 적절한 검증 없이 SQL 비교 연산자가 삽입되어 데이터베이스의 민감한 정보를 탈취할 수 있습니다.
💡 쉬운 설명
웹사이트의 특정 기능을 조작하여 데이터베이스에 몰래 명령을 내릴 수 있는 보안 구멍이 발견되었습니다. 이를 통해 해커가 회원 정보와 같은 중요한 데이터를 훔쳐갈 위험이 있습니다.
🇺🇸 원문 (English)
The Unlimited Elements For Elementor plugin for WordPress is vulnerable to SQL Injection via the 'addontype' parameter in versions up to, and including, 2.0.16. This is due to insufficient escaping on the user-supplied parameter and the lack of sufficient preparation on the existing SQL query in the getWhereString() function; when the parameter is supplied as an array, element zero is used verbatim as the SQL comparison operator and concatenated into the WHERE clause without sanitization, while normalizeAjaxInputData() strips WordPress's magic_quotes protection from the value. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
📍 영향받는 시스템
Unlimited Elements For Elementor plugin (버전 2.0.16 이하)
⚔️ 공격 벡터
인증되지 않은 공격자가 'addontype' 파라미터에 조작된 배열 값을 전달하여 SQL 쿼리를 실행
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나 해당 파라미터에 대한 입력값 검증 로직을 적용
🔧 검증 코드
출력된 결과에서 플러그인 이름과 현재 설치된 버전을 확인하여 2.0.16 이하인지 체크
wp plugin list --allow-root | grep -E 'unlimited-elements-for-elementor'