🇰🇷 한글 설명
인증된 사용자가 correlations over-correlation 엔드포인트의 order 쿼리 파라미터를 조작하여 서버 정의 정렬 순서를 우회할 수 있는 취약점입니다. 이를 통해 데이터베이스 쿼리 정렬이 조작되거나 안전하지 않은 쿼리 구성으로 인해 데이터 노출 위험이 발생할 수 있습니다.
💡 쉬운 설명
로그인한 사용자가 데이터 정렬 순서를 마음대로 변경할 수 있는 버그입니다. 이 기능을 악용하면 중요한 데이터가 순서대로 보이지 않거나 다른 정보가 노출될 수 있습니다.
🇺🇸 원문 (English)
A security issue was fixed in the correlations over-correlation endpoint where the order query parameter was accepted from user-controlled named request parameters. This allowed an authenticated user to override the server-defined ordering of over-correlating values. Depending on how the value was processed by the underlying data access layer, this could allow manipulation of database query ordering and potentially expose the application to unsafe query construction.
The patch removes order from the set of request-controlled parameters and instead sets the ordering server-side to occurrence desc after processing allowed user parameters.
Affected component:
app/Controller/CorrelationsController.php, overCorrelations()
Security impact:
An authenticated attacker could influence the ordering clause used by the over-correlations query. The direct impact appears limited to query manipulation unless further evidence confirms SQL injection or unauthorized data exposure through the manipulated ordering expression.
📍 영향받는 시스템
app/Controller/CorrelationsController.php의 overCorrelations() 함수를 사용하는 시스템
⚔️ 공격 벡터
인증된 사용자가 over-correlations 엔드포인트의 order 파라미터에 악의적인 값을 전달하여 쿼리 정렬을 조작
🛡️ 대응 방법
요청 파라미터에서 order를 제거하고 서버 측에서 발생 순서(desc)로 고정하여 처리하도록 패치 적용
🔧 검증 코드
패치 적용 후 해당 코드에서 order 파라미터가 직접 요청에서 추출되지 않고 서버 측에서 고정값으로 설정되었는지 확인
grep -r 'order.*request.*parameter' app/Controller/CorrelationsController.php