도구
로그인
한국어

코드 배우기

보안지키미

점검 항목 30개CVE 3,620개무료

PHP2SHELL·최신 CVE 를 보고, 리눅스·윈도우 점검 파일로 서버를 점검한 뒤 패치 안내를 따라 고쳐요.

PHP2SHELL · PHP 원격 코드 실행

원격 코드 실행(RCE)은 로그인 없이 요청 하나로 서버에서 공격자 코드가 돌아가는 취약점이에요. 뚫리면 웹쉘이 깔리고 고객 정보가 새고 내부망까지 들어와요.

PHP2SHELL 은 PHP 가 2026년 10월 21일에 고친 취약점 두 개(CVE-2026-109618 · CVE-2026-109619)의 별명이에요. 고치기 전에 내용이 새서 지금도 공격이 들어와요.

아래 카드에서 내 PHP 버전과 환경이 해당하는지 보고, 패치 안내를 따라 고쳐요. 업데이트한 뒤에는 PHP-FPM·Apache 를 다시 시작해야 해요.

지금 안전한 PHP 버전

8.2.368.3.378.4.288.5.138.6.0

8.1 이하는 공식 수정 버전이 없어요. 8.2 는 2026년 12월 31일에 보안 지원이 끝나요.

긴급CVSS 9.8실제 공격 중 · 2026-10-26 부터

CVE-2026-109618PHP2SHELL

메모리가 모자랄 때 PHP 가 요청을 멈추는 길에서, 덜 채워진 내부 값을 정리 단계가 정상 값처럼 다뤄요. 로그인 없이 보낸 요청 하나로 서버에서 코드가 돌 수 있어요.

위험한 버전
8.2.35 · 8.3.36 · 8.4.27 · 8.5.12 보다 낮은 버전 · 8.1 이하는 공식 수정 버전이 없음
대상 환경
웹 요청을 받는 모든 PHP(PHP-FPM, Apache mod_php, php-cgi, FrankenPHP, LiteSpeed) · mod_php 가 가장 위험
바로 못 올릴 때
바로 못 올리면 memory_limit=-1(앱이 못 바꾸게 php_admin_value), post_max_size 를 8M(업로드가 있으면 32M)로 낮춤 · 임시일 뿐 버전을 올려야 막혀요
공개
2026-10-21

P02PHP 버전이 오래됐거나 위험함P01PHP 웹쉘 의심 파일

중요CVSS 8.1실제 공격 중 · 2026-10-26 부터

CVE-2026-109619PHP2SHELL

요청이 끝나 메모리를 돌려준 뒤에도 내부 값이 그 자리를 가리킨 채 남아요. 같은 작업 프로세스가 받는 다음 요청이 그 낡은 값을 사용해서 코드가 돌 수 있어요.

위험한 버전
8.2.35 · 8.3.36 · 8.4.27 · 8.5.12 보다 낮은 버전 · 8.1 이하는 공식 수정 버전이 없음
대상 환경
웹 요청을 받는 모든 PHP · 같은 작업 프로세스가 여러 요청을 받는 PHP-FPM·mod_php
바로 못 올릴 때
바로 못 올리면 session.upload_progress.enabled=0 · PHP 8.5 는 fatal_error_backtraces=0 · php.ini 나 FPM 풀 설정에 넣고 모든 작업 프로세스 다시 시작(ini_set·.user.ini 로는 안 됨)
공개
2026-10-21

P02PHP 버전이 오래됐거나 위험함P01PHP 웹쉘 의심 파일

긴급CVSS 9.8실제 공격 중 · 2024-06-12 부터

CVE-2024-4577PHP-CGI

윈도우에서 Apache 가 php-cgi 를 부를 때, 윈도우가 특정 글자를 비슷한 글자로 바꾸는 동작 때문에 주소 뒤 글이 PHP 실행 옵션으로 읽혀요. 그 옵션으로 원하는 PHP 코드를 돌릴 수 있어요.

위험한 버전
8.1.29 · 8.2.20 · 8.3.8 보다 낮은 버전과 지원이 끝난 모든 옛 버전
대상 환경
윈도우 + Apache + PHP-CGI(XAMPP 처럼 /php-cgi/ 경로를 여는 설정 포함) · 중국어·일본어 같은 일부 코드 페이지에서 확인됨
바로 못 올릴 때
바로 못 올리면 php-cgi 를 부르는 설정(ScriptAlias /php-cgi/ · Action 줄)을 끄고 mod_php 나 FastCGI 로 바꿈
공개
2024-06-09

P08윈도우에서 PHP 를 CGI 로 돌림P02PHP 버전이 오래됐거나 위험함

긴급CVSS 9.8실제 공격 중 · 2022-03-25 부터

CVE-2019-11043PHP-FPM

nginx 의 fastcgi_split_path_info 설정과 함께 사용하는 일부 PHP-FPM 에서, 주소에 줄바꿈 글자를 넣으면 FPM 이 정해진 메모리 밖에 사용해요. 이걸로 원격에서 코드를 돌린 공격 도구가 공개됐어요.

위험한 버전
7.1.33 · 7.2.24 · 7.3.11 보다 낮은 버전
대상 환경
리눅스 nginx + PHP-FPM · PATH_INFO 를 넘기는 설정
바로 못 올릴 때
버전을 올림 · nginx 에서 try_files $uri =404; 로 없는 파일을 PHP 로 넘기지 않게
공개
2019-10-28

P02PHP 버전이 오래됐거나 위험함

긴급CVSS 9.8실제 공격 중 · 2022-03-25 부터

CVE-2012-1823PHP-CGI

php-cgi 가 = 없는 주소 뒤 글을 실행 옵션으로 읽어요. -d 옵션으로 설정을 바꿔 원하는 코드를 돌릴 수 있어요. 오래됐지만 지금도 자동 공격 도구가 두드려요.

위험한 버전
5.3.12 · 5.4.2 보다 낮은 버전
대상 환경
php-cgi 를 CGI 스크립트로 바로 부르는 서버(운영체제 상관없음)
바로 못 올릴 때
버전을 올림 · php-cgi 를 웹에서 바로 부르지 않게
공개
2012-05-11

P08윈도우에서 PHP 를 CGI 로 돌림P02PHP 버전이 오래됐거나 위험함

CVE 목록

웹 서버·PHP·DB·윈도우·리눅스 커널의 새 CVE 와 실제 공격에 사용되는 CVE 를 매일 9·12·15·18·21시에 모아요. 기간은 발표일이나 실제 공격 목록에 오른 날 기준이에요.

최근 30일 · 803개

번호심각도점수제품내용(영문)발표일
CVE-2026-99580중요7.8Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: mm/userfaultfd: only allocate anon_vma in CoW mappings find_vma_and_prepare_anon() can end up allocating an anon_vma in VMAs that are not CoW mappings, 2026-11-20
CVE-2026-99574중요7.8Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: f2fs: bound the SIT/NAT bitmaps by the checkpoint pack sit_ver_bitmap_bytesize and nat_ver_bitmap_bytesize are used as memcpy lengths into and out of sb2026-11-20
CVE-2026-99567중요7.8Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: assoc_array: don't chain a new shortcut onto an existing one When a full node's leaves and the new key all share the node's segment, assoc_array_insert_2026-11-20
CVE-2026-99564중요7.5Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: smb: smbdirect: don't wait for RDMA_CM_EVENT_DISCONNECTED in smbdirect_socket_destroy_sync() smbdirect_socket_destroy_sync() waited for RDMA_CM_EVENT_DI2026-11-20
CVE-2026-99563중요7.5Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: smb: smbdirect: release failed pending sockets of a listener A child of a listener only left the listen.pending or listen.ready list via smbdirect_socke2026-11-20
CVE-2026-99556중요8.8Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: ksmbd: serialize directory emptiness checks with readdir SMB2 QUERY_DIRECTORY holds fp->readdir_lock while it calls iterate_dir() on fp->filp. An SMB2 S2026-11-20
CVE-2026-99549중요7.5Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: smb: client: do not pass a NULL buf to is_oplock_break() receive_encrypted_read() sets *num_mids = 1 and never writes the caller's bufs[]. Offload retur2026-11-20
CVE-2026-99546중요7.1Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: net/sched: cls_flower: avoid stale mask references after delete Flower releases a mask reference when a filter is removed from the classifier. The filte2026-11-20
CVE-2026-99544긴급9.3Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: Drivers: hv: vmbus: Bounds check the shared ring buffer indices In a CoCo VM the host is untrusted. Since the VMBus ring buffer read and write indices l2026-11-20
CVE-2026-99541중요8.3Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: ksmbd: fix OOB read and cross-share confusion in ksmbd_validate_name_reconnect() ksmbd_validate_name_reconnect() indexes ab_pathname[share->path_sz + 1]2026-11-20
CVE-2026-99540중요8.8Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: ksmbd: fix parent dentry lifetime in directory enumeration ksmbd_populate_dot_dotdot_entries() builds the ".." entry from the open directory's d_parent 2026-11-20
CVE-2026-99536중요7.1Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent session binding in compound requests A failed multichannel binding can retain its target session on the work item so that the error respo2026-11-20
CVE-2026-99528중요7.8Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: SUNRPC: fix netns use-after-free in write_gssp() While fuzzing with a customized syzkaller, I hit a refcount warning in xprt_alloc(), reached from a wri2026-11-20
CVE-2026-99523중요7.8Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: RDMA/uverbs: Fix DMABUF use-after-free during ufile cleanup The DMABUF release can race with ufile cleanup. When the cleanup holds hw_destroy_rwsem for 2026-11-20
CVE-2026-99516중요7.1Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: nvmet-fc: fix use-after-free in nvmet_fc_ls_create_connection() nvmet_fc_ls_create_connection() looks up the association with nvmet_fc_find_target_assoc2026-11-20
CVE-2026-99513긴급9.8Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: lockd: Fix use-after-free in nlmsvc_retry_blocked nlmsvc_retry_blocked() examines the block at the head of nlm_blocked under nlm_blocked_lock, then rele2026-11-20
CVE-2026-99510중요7.0Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: media: hackrf: fix use-after-free in hackrf_alloc_urbs() error path hackrf_alloc_urbs() frees the URBs it allocated so far when one allocation fails, bu2026-11-20
CVE-2026-99507중요7.8Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: fix use-after-free in hugetlb_mfill_atomic_pte() Let's fix another instance where we use a folio after dropping the PTL, where someone else 2026-11-20
CVE-2026-99506중요7.8Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: fix use-after-free of a new anon folio For a fault in a private mapping with nothing in the page cache, hugetlb_no_page() allocates a folio,2026-11-20
CVE-2026-99485중요7.0Linux kernel · LinuxIn the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: clear the mailbox channel pointer when starting it fails aie2_create_context() allocates a mailbox channel, starts it, and on a failed st2026-11-20

마지막으로 모은 시각 2026-11-22 21:00

내려받아 점검

서버나 PC 에서 직접 돌려 점검 항목 30개를 확인해요. 결과마다 아래 패치 안내 번호가 붙어 나와요.

점검만 하고 아무것도 바꾸지 않아요, 결과는 점검한 서버에만 남아요. 실행 파일(exe)은 점검 뒤 PHP 업데이트를 직접 고를 때만 PHP 를 바꾸고(먼저 백업 · 실패하면 되돌림), 그때만 PHP 공식 내려받기(downloads.php.net)에서 받아요. 그 밖에는 아무것도 보내지 않아요.

.sh

리눅스 점검 셸

데비안·우분투·RHEL 계열 · root 로 실행

내려받기appdogu-check.sh · 54 KB

SHA-256

474a99278be8441d177795c1a4c2ad12e9c94a0f21fc1f6eefe15be28e675647

실행

sudo bash appdogu-check.sh

받은 파일 확인

sha256sum appdogu-check.sh

.ps1

윈도우 PowerShell

관리자 PowerShell 에서 실행

내려받기appdogu-check.ps1 · 54 KB

SHA-256

4162de71ee3c1484e062bf8df84b6fa256845f66992d1bd9a12009fe115993f4

실행

powershell -ExecutionPolicy Bypass -File .\appdogu-check.ps1

받은 파일 확인

Get-FileHash .\appdogu-check.ps1 -Algorithm SHA256

.exe

윈도우 실행 파일

관리자 PowerShell 에서 실행 · 점검 뒤 PHP 업데이트를 고를 수 있어요

내려받기appdogu-check.exe · 5,890 KB

SHA-256

54ba54d9130b7ad0362c2a62f5b8a282d5f34b0694686d284736bd6ee30bb37e

실행

.\appdogu-check.exe

받은 파일 확인

Get-FileHash .\appdogu-check.exe -Algorithm SHA256

영어로 보려면 셸은 --lang en, PowerShell·실행 파일은 -Lang en 을 붙여요.

윈도우에서 PHP ZIP 고르기 (Thread Safe · Non Thread Safe)

  • IIS 로 PHP 를 돌려요 → VS17 x64 Non Thread Safe (파일 이름에 nts 가 들어가요)
  • Apache 에 붙여 사용해요(XAMPP · WampServer · Laragon 의 Apache · php8apache2_4.dll) → VS17 x64 Thread Safe (파일 이름에 nts 가 없어요)
  • Nginx · 명령 창(CLI) · Composer 로만 사용해요 → VS17 x64 Non Thread Safe
  • 잘 모르겠어요 → 지금 사용하는 것과 같은 종류로 받아요. php -v 끝 괄호에 NTS 가 있으면 Non Thread Safe, ZTS 면 Thread Safe 예요. PHP 폴더에 php8apache2_4.dll 이 있으면 Thread Safe 예요.

VS17 · VS16 은 고르는 것이 아니라 PHP 버전마다 정해져 있어요(8.4 · 8.5 는 VS17, 8.0~8.3 은 VS16). VS17 버전은 Microsoft Visual C++ 2015-2022 재배포 패키지(x64)가 있어야 켜져요. x64 는 64비트 윈도우용이고 요즘 PC · 서버는 거의 모두 x64 예요. 파일 이름 예: Thread Safe 는 php-8.x.x-Win32-vs17-x64.zip, Non Thread Safe 는 php-8.x.x-nts-Win32-vs17-x64.zip

패치 안내

점검 결과의 번호를 누르면 무엇이 위험한지, 확인하고 고치고 막는 방법이 나와요.

자주 묻는 것

점검 파일이 서버를 바꾸나요?

아니요. 설정과 파일을 읽기만 하고 아무것도 고치거나 지우지 않아요. 윈도우 실행 파일에서 PHP 업데이트를 직접 고를 때만 PHP 폴더를 바꿔요(먼저 백업). 결과는 점검한 서버에만 남아요.

CVE 목록은 얼마나 자주 바뀌나요?

매일 9시, 12시, 15시, 18시, 21시(한국 시간)에 새로 나오거나 바뀐 CVE 를 모아요. 실제 공격에 사용된다고 알려진 CVE 는 제품과 상관없이 모두 넣어요.

심각도는 어떻게 나누나요?

CVSS 점수로 나눠요. 9.0 이상 긴급, 7.0~8.9 중요, 4.0~6.9 보통, 그 아래는 낮음이에요. 점수가 아직 없는 CVE 는 점수 없음으로 둬요.

PHP2SHELL 은 무엇인가요?

2026년 10월 21일 PHP 가 고친 원격 코드 실행 취약점 두 개(CVE-2026-109618, CVE-2026-109619)의 별명이에요. 8.2.35 · 8.3.36 · 8.4.27 · 8.5.12 보다 낮은 버전은 올리고 PHP 를 다시 시작해야 해요.