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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
PHP-FPM-Remote-Code-Execution-Vulnerability-CVE-2019-11043- — PHP-FPM 원격 코드 실행 취약점 (CVE-2019-11043) Python POC | Kitploit
도구/GitHubGitHub/alewong/php-fpm-remote-code-execution-vulnerability-cve-2019-11043-
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubalewong/php-fpm-remote-code-execution-vulnerability-cve-2019-11043-

PHP-FPM-Remote-Code-Execution-Vulnerability-CVE-2019-11043-

PHP-FPM 원격 코드 실행 취약점 (CVE-2019-11043) Python POC

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

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2019-11043

  1. 취약점 설명 Nginx의 fastcgi split path info는 %0a가 포함된 요청을 처리할 때 개행 문자 \n을 만나면 PATH INFO가 비어 있게 됩니다. php-fpm은 PATH INFO가 비어 있는 경우 논리적 결함이 존재합니다. 공격자는 정교한 구성과 활용을 통해 원격 코드 실행을 유발할 수 있습니다.

영향 범위 Nginx + php-fpm 서버에서 다음과 같은 구성을 사용하는 경우 원격 코드 실행 취약점이 존재할 수 있습니다. location ~ [^ /小.php(/|$) { fastcgi split path info ^(.+ ?.php)(.*)$; fastcgi param PATH INFO $fastcgi path info;fastcgi pass php:9000; }

  1. 취약점 탐지 방법 1: phuip-fpizdam 스크립트를 이용한 탐지

0x01 phuip-fpizdam-Mac 설치 go get github.com/neex/phuip-fpizdam go install github.com/neex/phuip-fpizdam ➜ ~ cd ./go ➜ go go get github.com/neex/phuip-fpizdam ➜ go go install github.com/neex/phuip-fpizdam ➜ go ls bin src ➜ go cd bin ➜ bin ls phuip-fpizdam ➜ bin file phuip-fpizdam phuip-fpizdam: Mach-O 64-bit executable x86_64

➜ bin ls -lah phuip-fpizdam -rwxr-xr-x 1 alewong staff 9.3M 10 24 10:54 phuip-fpizdam

step 2 bin ./phuip-fpizdam

Error: accepts 1 arg(s), received 0 Usage: phuip-fpizdam [url] [flags]

Flags:

root@kitploit:~
  --cookie string       send this cookie

-h, --help help for phuip-fpizdam --kill-count int how many times to send the worker killing payload (default 50) --kill-workers just kill php-fpm workers (requires only QSL) --method string detect method (see detect_methods.go) (default "session.auto_start") --only-qsl stop after QSL detection, use this if you just want to check if the server is vulnerable --pisos int pisos hint --qsl int qsl hint --reset-retries int how many retries to do for --reset-setting, -1 means a lot (default 50) --reset-setting try to reset setting (requires attack params) --setting string specify custom php.ini setting for --reset-setting --skip-attack skip attack phase --skip-detect skip detection phase 2019/10/24 10:56:18 accepts 1 arg(s), received 0

0x03 대상 URL 확인

step 3 반환 결과가 202인 것을 확인할 수 있으며, 성공입니다.

0x04 웹 페이지 상태 확인 step 4

step 5

방법 2: python 스크립트를 이용한 탐지 step 7

step 6 스크립트 아이디어: Q 임계값이 일정 수준(예: 1800)에 도달하면 502를 반환하여 취약점이 존재함을 증명할 수 있습니다.

실행 결과: step 8

burpsuite 결과와 일치합니다. step 9

도구 다운로드