🇰🇷 한글 설명
Foreman의 GraphQL API에서 민감한 정보가 노출되는 취약점이 발견되었습니다. GraphQL의 인트로스펙션(introspection) 기능이 활성화되어 있을 경우, 공격자가 관리자 인증 키를 탈취하여 제품 전체 API를 장악할 수 있습니다.
💡 쉬운 설명
해커가 시스템의 내부 설계도를 몰래 훔쳐볼 수 있는 구멍이 발견되었습니다. 이 설계도를 통해 관리자 열쇠를 얻게 되면 시스템 전체를 마음대로 조종할 수 있습니다.
🇺🇸 원문 (English)
A disclosure of sensitive information flaw was found in foreman via the GraphQL API. If the introspection feature is enabled, it is possible for attackers to retrieve sensitive admin authentication keys which could result in a compromise of the entire product's API.
📍 영향받는 시스템
Foreman (GraphQL API의 introspection 기능이 활성화된 버전)
⚔️ 공격 벡터
GraphQL API의 introspection 기능을 이용한 민감한 인증 키 정보 탈취
🛡️ 대응 방법
GraphQL API 설정에서 introspection 기능을 비활성화하거나 최신 보안 패치를 적용하십시오.
🔧 검증 코드
명령어 실행 결과로 JSON 형태의 스키마 정보가 반환되면 introspection 기능이 활성화되어 취약한 상태입니다.
curl -X POST -H 'Content-Type: application/json' --data '{"query": "{ __schema { queryType { name } } }"}' http://<target-ip>/graphql