🇰🇷 한글 설명
WordPress용 The School Management – Education & Learning ERP 플러그인 5.4 이하 버전에서 'order[0][dir]' 파라미터를 통한 SQL 인젝션 취약점이 발견되었습니다. 인증된 공격자가 데이터베이스에 추가 쿼리를 삽입하여 민감한 정보를 추출할 수 있으며, 일부 핸들러의 논스(nonce) 검증 부재로 인해 CSRF와 결합된 공격도 가능합니다.
💡 쉬운 설명
학교 관리용 플러그인의 보안 허점을 이용해 해커가 데이터베이스에 몰래 명령을 내려 중요한 정보를 빼낼 수 있는 문제입니다. 권한이 있는 사용자가 악의적인 코드를 입력하면 시스템이 이를 그대로 실행하여 정보가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
The The School Management – Education & Learning ERP plugin for WordPress is vulnerable to generic SQL Injection via 'order[0][dir]' Parameter in all versions up to, and including, 5.4 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 custom-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This vulnerability is replicated across seven or more AJAX handlers including wlsm-fetch-staff-classes, wlsm-fetch-notices, wlsm-fetch-subjects, wlsm-fetch-inquiries, wlsm-fetch-staff-employee, and wlsm-fetch-payments, and the missing nonce verification on several of these handlers also enables CSRF-chained exploitation.
📍 영향받는 시스템
The School Management – Education & Learning ERP plugin (WordPress) version 5.4 and below
⚔️ 공격 벡터
인증된 사용자가 AJAX 핸들러의 'order[0][dir]' 파라미터에 조작된 SQL 쿼리를 삽입하여 공격
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하고, 입력값 검증 및 SQL 쿼리 준비(Prepared Statement)를 강화해야 합니다.
🔧 검증 코드
출력된 플러그인 목록에서 해당 플러그인의 버전이 5.4 이하인지 확인합니다.
wp plugin list --allow-root | grep -E 'school-management'