🇰🇷 한글 설명
WAPT Server 2.6.1.17834 및 이전 버전의 /api/v3/hosts 엔드포인트 내 columns 파라미터에서 SQL 인젝션 취약점이 발견되었습니다. 읽기 전용 권한을 가진 인증된 원격 사용자가 임의의 PostgreSQL 표현식을 주입하여 호스트 범위 제한을 우회하고 데이터베이스 내 다른 행이나 테이블의 정보를 탈취할 수 있습니다.
💡 쉬운 설명
권한이 낮은 사용자가 특수한 명령어를 입력하여 서버의 데이터베이스를 조작하거나 몰래 정보를 훔쳐볼 수 있는 보안 약점입니다. 이를 통해 원래 볼 수 없는 다른 사용자의 데이터까지 접근할 위험이 있습니다.
🇺🇸 원문 (English)
WAPT Server versions 2.6.1.17834 and earlier contains a SQL injection vulnerability in the `columns` parameter of the GET `/api/v3/hosts` endpoint. A remote authenticated user with read-only privileges can inject arbitrary PostgreSQL expressions into the SQL query constructed by WAPT. By exploiting the injection point, an attacker can inject additional PostgreSQL statements, bypass the host scope restrictions applied to the account, and read information from other rows or tables within the database.
📍 영향받는 시스템
WAPT Server versions 2.6.1.17834 and earlier
⚔️ 공격 벡터
인증된 사용자가 GET /api/v3/hosts 요청의 columns 파라미터에 악의적인 SQL 구문을 주입
🛡️ 대응 방법
WAPT Server를 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
응답 결과에 PostgreSQL 버전 정보나 SQL 오류 메시지가 포함되면 취약한 상태입니다.
curl -s -u [username]:[password] http://[target_ip]/api/v3/hosts?columns=id;SELECT+version();