🔍 CVE-2024-50334

5.3
CVSS Score
MEDIUM
2024-10-29
2026-06-17 08:04
✅ 완료

🇰🇷 한글 설명

Scoold Q&A 플랫폼의 /api;/config 엔드포인트에서 세미콜론을 이용한 경로 주입 취약점이 발견되었습니다. 공격자는 이를 통해 인증을 우회하여 민감한 설정 데이터에 접근하거나, HOCON 파일 포함 공격을 통해 서버의 설정 파일을 탈취할 수 있습니다.

💡 쉬운 설명

웹사이트 주소에 특수문자를 섞어 넣어 보안 검사를 통과하는 방식의 공격입니다. 이를 통해 해커가 관리자 권한 없이 서버의 중요한 비밀 정보를 몰래 읽어갈 수 있습니다.

🇺🇸 원문 (English)

Scoold is a Q&A and a knowledge sharing platform for teams. A semicolon path injection vulnerability was found on the /api;/config endpoint. By appending a semicolon in the URL, attackers can bypass authentication and gain unauthorised access to sensitive configuration data. Furthermore, PUT requests on the /api;/config endpoint while setting the Content-Type: application/hocon header allow unauthenticated attackers to file reading via HOCON file inclusion. This allows attackers to retrieve sensitive information such as configuration files from the server, which can be leveraged for further exploitation. The vulnerability has been fixed in Scoold 1.64.0. A workaround would be to disable the Scoold API with scoold.api_enabled = false.

📍 영향받는 시스템

Scoold 1.64.0 미만 버전

⚔️ 공격 벡터

URL 경로에 세미콜론(;)을 추가하여 인증을 우회하거나, PUT 요청 시 HOCON 헤더를 사용하여 파일을 읽어오는 방식

🛡️ 대응 방법

Scoold를 1.64.0 버전으로 업데이트하거나, 설정에서 scoold.api_enabled = false로 API를 비활성화합니다.

🔧 검증 코드

해당 엔드포인트에 접근했을 때 인증 오류 없이 데이터가 반환되거나 파일 내용이 보이면 취약한 상태입니다.

Shell / Script
curl -s http://<target_ip>:<port>/api/config | grep -q 'error' || echo 'Vulnerable'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

💻 영향받는 소프트웨어

Teams