🇰🇷 한글 설명
WordPress의 List category posts 플러그인 0.91.0 버전 이하에서 'starting_with' 파라미터를 통한 시간 기반 SQL 인젝션 취약점이 발견되었습니다. 인증된 기여자(Contributor) 이상의 권한을 가진 공격자가 데이터베이스에 추가 쿼리를 삽입하여 민감한 정보를 추출할 수 있습니다.
💡 쉬운 설명
웹사이트 게시물을 보여주는 플러그인의 허점을 이용해 데이터베이스에 몰래 명령을 내리는 공격입니다. 이를 통해 공격자는 사이트의 중요한 정보를 몰래 빼낼 수 있습니다.
🇺🇸 원문 (English)
The List category posts plugin for WordPress is vulnerable to time-based SQL Injection via the ‘starting_with’ parameter of the catlist shortcode in all versions up to, and including, 0.91.0 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.
📍 영향받는 시스템
WordPress List category posts plugin (버전 0.91.0 이하)
⚔️ 공격 벡터
인증된 사용자가 catlist 쇼트코드 내 'starting_with' 파라미터에 악의적인 SQL 구문을 삽입하여 공격
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 해당 파라미터에 대한 입력값 검증 및 SQL 쿼리 준비(Prepared Statement)를 적용해야 합니다.
🔧 검증 코드
출력된 결과에서 list-category-posts 플러그인의 버전이 0.91.0 이하인지 확인합니다.
wp-cli plugin list --allow-root | grep 'list-category-posts'