🔍 CVE-2021-42013

9.8
CVSS Score
CRITICAL
2021-10-07
2026-06-17 04:09
✅ 완료

🇰🇷 한글 설명

Apache HTTP Server 2.4.50 버전에서 CVE-2021-41773에 대한 수정이 불충분하여 발생한 경로 탐색 취약점입니다. 공격자는 설정된 디렉토리 외부의 파일에 접근할 수 있으며, CGI 스크립트가 활성화된 경우 원격 코드 실행(RCE)까지 가능합니다.

💡 쉬운 설명

웹 서버의 보안 구멍을 이용해 허용되지 않은 서버 내부 파일에 접근하거나 악성 명령을 실행할 수 있는 위험한 취약점입니다. 해커가 서버의 제어권을 완전히 뺏을 수 있어 매우 위험합니다.

🇺🇸 원문 (English)

It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration "require all denied", these requests can succeed. If CGI scripts are also enabled for these aliased pathes, this could allow for remote code execution. This issue only affects Apache 2.4.49 and Apache 2.4.50 and not earlier versions.

📍 영향받는 시스템

Apache HTTP Server 2.4.49 및 2.4.50 버전

⚔️ 공격 벡터

경로 탐색(Path Traversal)을 통한 파일 접근 및 CGI 스크립트를 이용한 원격 코드 실행(RCE)

🛡️ 대응 방법

Apache HTTP Server를 최신 보안 패치가 적용된 버전(2.4.51 이상)으로 즉시 업데이트하십시오.

🔧 검증 코드

명령어 결과에 Apache/2.4.49 또는 Apache/2.4.50이 포함되어 있으면 취약한 버전입니다.

Shell / Script
httpd -v 2>/dev/null || apache2 -v 2>/dev/null | grep -E 'Apache/2.4.(49|50)'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache HTTP Server