🇰🇷 한글 설명
phpMyFAQ 4.2.0-alpha 버전에서 OpenQuestionController의 api.onlyPublicQuestions 체크 로직이 반대로 구현되어 정보가 노출되는 취약점이 발견되었습니다. 인증되지 않은 공격자가 특정 API 엔드포인트에 GET 요청을 보내 비공개 질문 및 내부 관리용 질문과 관련된 사용자 이름을 읽어낼 수 있습니다.
💡 쉬운 설명
웹사이트의 공개되지 않은 질문과 작성자 이름이 외부로 유출될 수 있는 보안 결함입니다. 로그인하지 않은 누구나 특정 주소를 통해 숨겨진 정보를 몰래 볼 수 있는 상태입니다.
🇺🇸 원문 (English)
phpMyFAQ 4.2.0-alpha before 4.2.0-beta contains an information disclosure vulnerability that allows unauthenticated attackers to read hidden open questions due to an inverted api.onlyPublicQuestions check in OpenQuestionController. Attackers can send GET requests to the /api/v4.0/open-questions endpoint to retrieve non-public moderation or internal questions and their associated usernames.
📍 영향받는 시스템
phpMyFAQ 4.2.0-alpha (4.2.0-beta 미만 버전)
⚔️ 공격 벡터
인증되지 않은 공격자가 /api/v4.0/open-questions 엔드포인트로 GET 요청을 전송
🛡️ 대응 방법
phpMyFAQ를 4.2.0-beta 이상의 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
해당 API 호출 시 200 OK 응답과 함께 비공개 데이터가 반환된다면 취약한 상태입니다.
curl -s -I http://<target-ip>/api/v4.0/open-questions | grep 'HTTP/1.1 200 OK'