🇰🇷 한글 설명
WordPress용 WP ERP 플러그인의 특정 REST API 경로에서 id 파라미터를 통한 시간 기반 SQL 인젝션 취약점이 발견되었습니다. 관리자 또는 회계 매니저 권한을 가진 인증된 공격자가 데이터베이스에 추가 쿼리를 삽입하여 민감한 정보를 추출할 수 있습니다.
💡 쉬운 설명
로그인 권한이 있는 사용자가 데이터베이스에 몰래 명령어를 입력하여 중요한 정보를 빼낼 수 있는 보안 약점입니다. 데이터베이스가 응답하는 시간을 조절하는 방식으로 정보를 알아내는 방식입니다.
🇺🇸 원문 (English)
The WP ERP | Complete HR solution with recruitment & job listings | WooCommerce CRM & Accounting plugin for WordPress is vulnerable to time-based SQL Injection via the id parameter via the erp/v1/accounting/v1/vendors/1/products/ REST route in all versions up to, and including, 1.13.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 admin or accounting manager privileges, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
📍 영향받는 시스템
WP ERP 플러그인 1.13.0 및 그 이하 모든 버전
⚔️ 공격 벡터
인증된 공격자가 erp/v1/accounting/v1/vendors/1/products/ 경로의 id 파라미터에 악의적인 SQL 쿼리를 삽입
🛡️ 대응 방법
WP ERP 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 1.13.0 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --name wp-erp --format=json | grep -E '"version":"[0-9.]+"'