Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2021-23394 — 취약한 elfinder 버전을 nginx와 apache 서버 모두에 설정할 수 있는 Docker 컨테이너입니다. 취약점 PoC를 테스트하는 데 사용할 수 있습니다. | Kitploit
도구/GitHubGitHub/0xnemian/cve-2021-23394
Container SecurityVulnerability AnalysisWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHub0xnemian/cve-2021-23394

CVE-2021-23394

취약한 elfinder 버전을 nginx와 apache 서버 모두에 설정할 수 있는 Docker 컨테이너입니다. 취약점 PoC를 테스트하는 데 사용할 수 있습니다.

저장소 보기
49개월 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

elFinder CVE-2021-23394 재현 환경 설정

이 저장소는 Docker를 사용하여 CVE-2021-23394 (elFinder의 임의 파일 실행)의 재현 환경을 제공합니다. 취약한 버전과 패치된 버전을 Apache와 Nginx에서 비교할 수 있도록 4가지 환경을 설정합니다.

개요

설정은 다음을 포함합니다:

  1. Apache 취약 (포트 8080): Apache에서 elFinder 2.1.57
  2. Apache 패치됨 (포트 8081): Apache에서 elFinder 2.1.66
  3. Nginx 취약 (포트 8082): Nginx에서 elFinder 2.1.57
  4. Nginx 패치됨 (포트 8083): Nginx에서 elFinder 2.1.66

사전 요구 사항

  • Docker
  • Nuclei (테스트용)

설정

  1. 설정 스크립트를 실행 가능하게 만드세요 (아직 아니라면):

    root@kitploit:~
    chmod +x setup_containers.sh
    
  2. 설정 스크립트를 실행하세요:

    root@kitploit:~
    ./setup_containers.sh
    

    이 명령은 Docker 이미지를 빌드하고 컨테이너를 시작합니다.

사용법 / 확인

브라우저에서 다음 주소로 elFinder 인터페이스에 접근할 수 있습니다:

  • http://localhost:8080/elfinder/elfinder.html
  • http://localhost:8081/elfinder/elfinder.html
  • http://localhost:8082/elfinder/elfinder.html
  • http://localhost:8083/elfinder/elfinder.html

Nuclei로 테스트

취약점 (또는 패치)을 확인하려면 적절한 템플릿과 함께 Nuclei를 사용하세요.

다음 명령을 실행하세요 (path-to-nuclei-templates를 실제 템플릿 디렉토리 경로로 대체):

root@kitploit:~
# Apache 취약 테스트 (취약해야 함)
nuclei -t path-to-nuclei-templates/http/cves/2021/CVE-2021-23394.yaml -u http://localhost:8080

# Apache 패치됨 테스트 (취약하지 않아야 함)
nuclei -t path-to-nuclei-templates/http/cves/2021/CVE-2021-23394.yaml -u http://localhost:8081

# Nginx 취약 테스트 (취약해야 함)
nuclei -t path-to-nuclei-templates/http/cves/2021/CVE-2021-23394.yaml -u http://localhost:8082

# Nginx 패치됨 테스트 (취약하지 않아야 함)
nuclei -t path-to-nuclei-templates/http/cves/2021/CVE-2021-23394.yaml -u http://localhost:8083

또는 targets.txt 파일을 만들어 한 번에 모두 테스트할 수 있습니다:

root@kitploit:~
echo -e "http://localhost:8080\nhttp://localhost:8081\nhttp://localhost:8082\nhttp://localhost:8083" > targets.txt
nuclei -t path-to-nuclei-templates/http/cves/2021/CVE-2021-23394.yaml -l targets.txt

예상 결과:

  • 포트 8080 및 8082 (취약): 취약으로 식별되어야 합니다.
  • 포트 8081 및 8083 (패치됨): 취약으로 식별되지 않아야 합니다.

정리

컨테이너를 중지하고 제거하려면 스크립트 내의 정리 명령을 실행하거나 수동으로 실행할 수 있습니다:

root@kitploit:~
docker rm -f elfinder-apache-vuln elfinder-apache-patched elfinder-nginx-vuln elfinder-nginx-patched
도구 다운로드