🇰🇷 한글 설명
NL Portal Backend Libraries의 3.0.3 미만 버전에서 인증된 사용자가 타인의 문서 소유권 확인 없이 문서를 조회할 수 있는 취약점이 발견되었습니다. GraphQL 쿼리와 REST API 경로를 통해 문서 ID만 알면 민감한 개인정보가 포함된 문서를 탈취할 수 있습니다.
💡 쉬운 설명
로그인한 사용자라면 다른 사람의 문서 번호만 알아내어 그 내용을 몰래 훔쳐볼 수 있는 보안 결함입니다. 문서 번호가 복잡하긴 하지만, 유출될 경우 개인정보가 위험해질 수 있습니다.
🇺🇸 원문 (English)
NL Portal Backend Libraries provide backend components for Dutch government portals that interact with residents, customers, suppliers, and partner organizations. Prior to 3.0.3, both the getDocumentContent GraphQL query and GET /api/documentapi/{documentapi}/document/{documentId}/content REST route allow any authenticated portal user to retrieve a document without checking ownership of or another authorized relationship to it. A user with a valid login and another person's document identifier can read that document's contents, which may include sensitive personal information. Document identifiers are random and difficult to guess, but they can leak through other channels. This issue is fixed in version 3.0.3.
📍 영향받는 시스템
NL Portal Backend Libraries 3.0.3 미만 버전
⚔️ 공격 벡터
인증된 사용자가 유출된 문서 ID를 사용하여 GraphQL 또는 REST API를 통해 비인가 문서 접근
🛡️ 대응 방법
NL Portal Backend Libraries를 3.0.3 이상 버전으로 업데이트
🔧 검증 코드
출력된 라이브러리 버전이 3.0.3 미만인지 확인하여 취약 여부를 판단합니다.
npm list @nl-portal/backend-libraries || pip show nl-portal-backend-libraries || dpkg -l | grep nl-portal-backend-libraries