🔍 CVE-2024-58374

7.5
CVSS Score
HIGH
2026-08-13
2026-10-01 23:10
✅ 완료

🇰🇷 한글 설명

Hongjing e-HR의 getSdutyTree 서블릿 엔드포인트에서 인증되지 않은 사용자가 SQL 인젝션을 수행할 수 있는 취약점이 발견되었습니다. 공격자는 경로 탐색(Path Traversal) 시퀀스를 사용하여 인증 필터를 우회한 뒤, codeitemid 파라미터에 UNION 기반 SQL 페이로드를 주입하여 사용자 자격 증명을 포함한 민감한 데이터베이스 정보를 탈취할 수 있습니다.

💡 쉬운 설명

해커가 로그인하지 않고도 시스템의 보안 문을 우회하여 데이터베이스에 몰래 침입할 수 있는 결함입니다. 이를 통해 사용자의 비밀번호와 같은 중요한 개인 정보를 훔쳐갈 수 있습니다.

🇺🇸 원문 (English)

Hongjing e-HR contains an unauthenticated SQL injection vulnerability in the getSdutyTree servlet endpoint that allows remote unauthenticated attackers to access protected resources by supplying a path traversal sequence in the request URI to bypass the oauthservlet authentication filter. Attackers can inject UNION-based SQL payloads through the unsanitized codeitemid parameter into the underlying Microsoft SQL Server query to retrieve sensitive database contents including user credentials. Exploitation evidence was first observed by the Shadowserver Foundation on 2024-07-30 (UTC).

📍 영향받는 시스템

Hongjing e-HR (getSdutyTree 서블릿 엔드포인트 사용 버전)

⚔️ 공격 벡터

경로 탐색을 통한 인증 우회 후 codeitemid 파라미터에 UNION 기반 SQL 인젝션 수행

🛡️ 대응 방법

해당 엔드포인트의 입력값 검증 로직을 수정하고, 경로 탐색 및 SQL 인젝션을 방지하기 위한 보안 패치를 적용하십시오.

🔧 검증 코드

경로 탐색 시퀀스(/../)를 포함한 요청 시 403 Forbidden이 아닌 200 OK가 반환되면 인증 우회 취약점이 존재할 가능성이 높습니다.

Shell / Script
curl -s -I 'http://<target_ip>/<context_path>/getSdutyTree/../oauthservlet' | grep -E 'HTTP/1.1 200|HTTP/1.1 403'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

SQL Server