🇰🇷 한글 설명
Moodle 5.3.0 미만 버전의 Configurable Reports 블록에서 권한 우회 취약점이 발견되었습니다. 인증된 사용자가 web service를 통해 권한 검사에 실패하더라도 경고만 발생할 뿐, 임의의 보고서 ID를 입력하여 사용자 및 성적 데이터가 포함된 SQL 보고서를 읽을 수 있습니다.
💡 쉬운 설명
로그인한 사용자라면 누구나 권한이 없는 다른 사람의 성적이나 개인 정보를 몰래 훔쳐볼 수 있는 보안 결함입니다. 시스템이 권한이 없다는 경고를 띄우긴 하지만, 실제 데이터는 그대로 보여주는 문제가 있습니다.
🇺🇸 원문 (English)
Configurable Reports block for Moodle before 5.3.0 contains an authorization bypass vulnerability that allows authenticated users to read restricted reports through the block_configurable_reports_get_report_data web service. When check_permissions fails, the function only adds a warning and still returns the full report table, letting any logged-in user supply arbitrary report ids to read SQL reports over user and grade data.
📍 영향받는 시스템
Moodle 5.3.0 미만 버전의 Configurable Reports 블록 설치 환경
⚔️ 공격 벡터
인증된 사용자가 block_configurable_reports_get_report_data 웹 서비스를 통해 임의의 보고서 ID를 요청하는 방식
🛡️ 대응 방법
Moodle을 5.3.0 이상의 최신 버전으로 업데이트하거나 해당 플러그인을 보안 패치된 버전으로 교체하십시오.
🔧 검증 코드
출력된 Moodle 버전이 5.3.0 미만인 경우 해당 취약점에 노출된 상태입니다.
curl -s http://<target_moodle_url>/version.php | grep -E 'Moodle (?:[0-4].[0-9]+|5.[0-2].[0-9]+)'