🇰🇷 한글 설명
ERPNext의 특정 보고서 기능에서 검증되지 않은 doctype 필터가 SQL 쿼리에 직접 삽입되는 취약점이 발견되었습니다. 인증된 사용자가 이를 악용하여 데이터베이스 쿼리를 조작하거나 민감한 정보를 추출할 수 있습니다.
💡 쉬운 설명
로그인한 사용자가 시스템의 데이터베이스 명령어를 마음대로 조작할 수 있는 보안 구멍이 발견되었습니다. 이를 통해 허가되지 않은 중요한 정보를 몰래 빼낼 위험이 있습니다.
🇺🇸 원문 (English)
ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.116.0 and 16.23.0, erpnext/selling/report/inactive_customers/inactive_customers.py accepts an unvalidated doctype filter and interpolates it into raw SQL in get_sales_details and get_last_sales_amt, allowing an authenticated user to extract sensitive information and manipulate database queries. This issue is fixed in versions 15.116.0 and 16.23.0.
📍 영향받는 시스템
ERPNext 15.116.0 및 16.23.0 미만 버전
⚔️ 공격 벡터
인증된 사용자가 보고서 필터에 악의적인 SQL 구문을 삽입하여 공격
🛡️ 대응 방법
ERPNext를 15.116.0 또는 16.23.0 이상의 최신 버전으로 업데이트
🔧 검증 코드
출력된 버전 번호가 15.116.0 또는 16.23.0보다 낮은지 확인
pip show erpnext | grep Version