🇰🇷 한글 설명
Phproject 1.8.7 미만 버전의 REST API 이슈 엔드포인트에서 객체 수준 권한 부여가 누락된 취약점이 발견되었습니다. 인증된 API 키 소유자는 allowAccess() 루틴을 우회하여 제한된 이슈 내용과 댓글, 이메일 주소 등을 열람하거나 권한 없는 댓글을 게시할 수 있습니다.
💡 쉬운 설명
로그인 권한이 있는 사용자가 원래 볼 수 없는 다른 사람의 비밀 게시물이나 댓글을 몰래 읽거나 쓸 수 있는 보안 결함입니다. API를 통해 보안 검사를 건너뛰는 방식으로 발생합니다.
🇺🇸 원문 (English)
Phproject before 1.8.7 contains a missing object-level authorization vulnerability in the REST API issue endpoints (single_get, single_comments, single_comments_post) that allows authenticated API key holders to bypass the security.restrict_access confidentiality control by never invoking the allowAccess() authorization routine. Attackers can use a valid API key to read restricted issue contents and comments, including owner and author email addresses, and post unauthorized comments to issues they should not have access to.
📍 영향받는 시스템
Phproject version < 1.8.7
⚔️ 공격 벡터
인증된 API 키를 사용하여 REST API의 특정 엔드포인트(single_get, single_comments 등)에 접근하여 권한 검사를 우회함
🛡️ 대응 방법
Phproject를 최신 보안 패치가 적용된 1.8.7 이상의 버전으로 업데이트하십시오.
🔧 검증 코드
설치된 Phproject의 버전을 확인하여 1.8.7 미만일 경우 취약한 상태로 판단합니다.
php -r 'echo "Phproject version check";' | grep -q '1.8.7' || echo 'Vulnerable version detected'