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

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

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

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2017-17733 — Scanner and two-stage exploit for CVE-2017-17733, an unauthenticated RCE in MacCMS 8.x via the wd search parameter, using md5 nonce reflection to confirm template eval. | Kitploit
도구/GitHubGitHub/jonathan1010/cve-2017-17733
ReconnaissanceVulnerability ScannersWeb Vulnerability ScannersExploitationWeb Application ExploitationPenetration Testing
GitHubjonathan1010/cve-2017-17733

CVE-2017-17733

Scanner and two-stage exploit for CVE-2017-17733, an unauthenticated RCE in MacCMS 8.x via the wd search parameter, using md5 nonce reflection to confirm template eval.

저장소 보기
2026년 12월 4일아직 검토되지 않음
공유
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

CVE-2017-17733

Maccms 8.x - Remote Code Execution

Metadata

fieldvalue
CVECVE-2017-17733
severitycritical
CVSS9.8 (template CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; NVD primary 3.0 vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, same base score; NVD 2.0 score 7.5)
fixed in8.x maintenance line (upstream repo magicblack/maccms8, final 8.x tag v2022.3004); NVD CPE lists maccms 8.0
classcode injection RCE (template cwe-id CWE-94, NVD NVD-CWE-noinfo): eval() of the user-controlled {if-A:} tag in the 'wd' parameter of index.php?m=vod-search
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/CT5TJ3

Summary

Maccms 8.x is vulnerable to unauthenticated remote code execution via the 'wd' (search keyword) parameter of index.php?m=vod-search. The MacCMS template parser compiles the {if-A:}...{endif-A} tag into PHP that evaluates (inc/common/template.php, ifex(), @eval), so a crafted wd value runs arbitrary PHP (and OS commands via system/ exec). The nuclei template injects print(md5()) and confirms code execution when the nonce's md5 is reflected in the response; the payload is PHP-native (no shell command), so it fires on both Windows and Linux hosts. NVD: EPSS 0.67252 (percentile 0.99314), published 2017-12-18.

Full description

The single template request (max-request: 1) is

GET /index.php?m=vod-search&wd={if-A:print(md5(<num>))}{endif-A} HTTP/1.1
Host: {{Hostname}}

with <num> a random integer in [10000000, 99999999] ({{rand_int(10000000, 99999999)}}). Route dispatch: index.php splits m on - (vod + search), inc/module/vod.php search() reads $wd = trim(be("all", "wd")) (so both the GET query and the native POST form feed it) and pushes it into the template property P["wd"]. The parser (inc/common/template.php, ifex()) matches {if-(name):(expr)}...{endif-name} and runs @eval("if($strif){...}") over the raw wd text, so print(md5(num)) writes the 32-char hex digest straight into the rendered page.

matchers-condition: and requires both: HTTP status 200 and the body containing md5(num) (the dsl pair status_code == 200 / contains(body, md5(num))). A patched or non-MacCMS host either does not eval the expression or returns a different digest, and the pair fails. Template metadata: shodan-query: http.html:"MacCms", fofa-query: app="maccms".

Detection model

  • One request per target (max-request: 1), mirroring the template.
  • Probe: GET {BaseURL}/index.php?m=vod-search&wd={if-A:print(md5(num))}{endif-A} with a fresh random nonce num per target.
  • Matchers (verbatim from the template): status 200 and the 32-char lowercase hex of md5(num) present in the decoded body; the digest only appears if eval() really ran on the injected expression.
  • check(url) returns (True, details) only when both hold; details keeps path, param, nonce, expected digest, status, content type, per-matcher flags (digest_reflected, matched), a 200-char snippet and the extractor string template if-A eval: digest=... reflected=... status=... match=....
  • A 12-char md5 token is computed over the JSON result so a merely reflected page is distinguishable from a real template eval.
  • Every request retries (2 attempts, linear backoff); scheme-less hosts in urls.txt are auto-prefixed with http://.

Usage

# scanner (GitHub side): streamed CSV + optional JSON sidecar
python scanner/CVE-2017-17733/scanner.py urls.txt 8 CVE-2017-17733.csv --json CVE-2017-17733.json

# exploit (satoshidisk side): result dict + optional CSV/JSON dumps
python exploit/CVE-2017-17733/exploit.py http://maccms-host --csv CVE-2017-17733.csv --json CVE-2017-17733.json --verbose

urls.txt is a plain file, one target per line, # for comments. Lines may omit the scheme (127.0.0.1:80 works, http:// is prepended). The route is the front controller index.php (module m=vod-search), reachable on the site's HTTP port; with rewrite on or off the same query string applies.

Example scanner output

RCE POC SUITE
 scanner : CVE-2017-17733 v1.0.0
 threads : 4 | csv: CVE-2017-17733.csv | json: CVE-2017-17733.json
RCE POC SUITE
[..] loaded 2 target(s) from urls.txt
[..] [1/2] http://127.0.0.1:8091 -> VULNERABLE
[..] [2/2] http://127.0.0.1:8091 -> VULNERABLE
[..] json sidecar saved: CVE-2017-17733.json
[..] summary: total=2 vulnerable=2 not-vuln=0 errors=0
[..] timing : avg=7ms max=7ms wall=0.01s
[..] report saved: CVE-2017-17733.csv

Scanner report columns

columnmeaning
n1-based row number
urltarget as provided
statusok / error
vulnerableverdict
elapsed_msper-target timing
tokenmd5 proof-of-match (12 chars)
result_b64base64(JSON) full details

Files

  • scanner.py - detection only, stdlib, streamed CSV + JSON sidecar.
  • README.md - this file.
  • DESCRIPTION.md - deeper technical notes.
  • ../../exploit/CVE-2017-17733/exploit.py - two-stage POC.

Exit codes

codemeaning
0at least one target answered
2every target errored (or no targets loaded)

The POC returns 0 when its token verification passes and 2 on verification failed.

References

  • Nuclei template: http/cves/2017/CVE-2017-17733.yaml
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2017-17733
  • CVE record: https://www.cvedetails.com/cve/CVE-2017-17733/
  • Vendor source (8.x): https://github.com/magicblack/maccms8 (inc/common/template.php ifex(), inc/module/vod.php search())
도구 다운로드

관련 도구

  • 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

    SMS를 가로채고, 메시지를 주입하며, 모바일 기기를 추적하기 위해 악성 GSM 셀을 배포하는 IMSI Catcher 플랫폼

    721
  • 4

    opencti

    opencti-platform/opencti

    오픈 사이버 위협 인텔리전스 플랫폼

    535
  • 5

    ARTEX

    baarai/artex

    LLM 멀티 에이전트 자율 침투 테스트 플랫폼으로, 플래너/워커 에이전트, 자산 및 탐색 그래프, MITM 트래픽 기록, 취약점 재테스트 기능을 제공합니다.

    424
  • 6

    DFRoot

    a2333c/dfroot

    삼성 Galaxy S25 Ultra(SM-S938B)용 Android 루트 도구로, DirtyFrag CVE-2026-43284와 CVE-2026-43499를 연쇄하여 KernelSU를 통해 부팅 시 자동으로 루트 권한을 획득합니다.

    419

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →