Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2017-11467 — Scanner and proof-of-concept exploit for CVE-2017-11467, detecting and exploiting unauthenticated Groovy function execution in OrientDB 2.2.22 and earlier via the HTTP API. | Kitploit
工具/GitHubGitHub/jonathan1010/cve-2017-11467
Vulnerability ScannersWeb Vulnerability ScannersExploitationWeb Application ExploitationInformation GatheringPenetration TestingRemote Access Tool
GitHubjonathan1010/cve-2017-11467

CVE-2017-11467

Scanner and proof-of-concept exploit for CVE-2017-11467, detecting and exploiting unauthenticated Groovy function execution in OrientDB 2.2.22 and earlier via the HTTP API.

查看仓库
2026年12月4日尚未审核
分享
内容在请求的语言中不可用。显示英文版本。

CVE-2017-11467

OrientDB =< 2.2.22 - Remote Code Execution

Metadata

fieldvalue
CVECVE-2017-11467
severitycritical
CVSS9.8 (template CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; NVD 3.0 vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
fixed inOrientDB 2.2.23 (released 2017-07-11); also fixed in the 3.x line; Maven artifact com.orientechnologies:orientdb-core patched in 2.2.23
classunsandboxed server-side Groovy function execution via the HTTP API, port 2480 (NVD/template CWE-269, improper privilege management)
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/CT5RZM

Summary

OrientDB through 2.2.22 does not enforce privilege requirements during where/fetchplan/order-by use, letting a user with the default database credentials (admin/admin) create and execute an unsandboxed server-side Groovy function through the HTTP API (port 2480). The Groovy function runs arbitrary JVM code - and OS commands via Runtime/ProcessBuilder - achieving remote code execution. The template runs a four-request flow (max-request: 4, flow: http(1) && http(2) && http(3) && http(4)): list a database, create a Groovy function that computes md5 of a random nonce, trigger it, confirm code execution when the nonce's md5 is returned, and delete the function. NVD: published 2017-07-19, CWE-269, EPSS 0.85882 (percentile 0.99728), GHSA-xm6r-4466-mr74.

Full description

The OrientDB HTTP API listens on TCP 2480 by default and the stock databases ship the admin/admin pair (reader/writer exist as read-only helpers). The four template requests are

GET    /listDatabases                      (Basic YWRtaW46YWRtaW4=)
POST   /document/<db>/-1:-1                ofunction JSON, groovy
POST   /function/<db>/<fname>              no body
DELETE /document/<db>/<rid>                no body
  • Request 1 must answer HTTP 200 with a body containing databases; the regex extractor "databases":\["([^"]+)" picks the first database name.
  • Request 2 posts the ofunction record ({"@class":"ofunction","@version":0,"@rid":"#-1:-1","idempotent":null, "name":"<fname>","language":"groovy","code":"return java.security.MessageDigest .getInstance('MD5').digest('<num>'.getBytes()).encodeHex().toString();", "parameters":null}) and must answer HTTP 201; the regex extractor "@rid":"#([0-9]+:[0-9]+)" keeps the new record id.
  • Request 3 triggers the function and is the only public matcher: contains(body, md5(num)), i.e. the 32-hex digest of the nonce must appear in the JSON answer, proving the Groovy body really executed server-side.
  • Request 4 deletes the function (status_code >= 100, internal). The payload is pure-JVM (no OS command), so it works on both Windows and Linux hosts.

NVD lists CPE cpe:2.3:a:orientdb:orientdb:* up to (including) 2.2.22; 2.2.23 and the 3.x line are patched. Remediation: upgrade to 2.2.23+, change the default admin/admin (and reader/writer) credentials, and restrict access to ports 2480 (HTTP) and 2424 (binary).

Detection model

  • Four requests per target (max-request: 4), mirroring the template flow http(1) && http(2) && http(3) && http(4).
  • Probe 1: GET /listDatabases with Authorization: Basic *** (admin/admin); matchers: status 200 and body containing databases (case-insensitive substring, nuclei word matcher default).
  • Probe 2: POST /document/<db>/-1:-1 with Content-Type: application/json;charset=UTF-8 and the ofunction JSON; matcher: status 201. Extractor: "@rid":"#([0-9]+:[0-9]+)".
  • Probe 3: POST /function/<db>/<fname> with Content-Type: application/json; matcher: the body contains the 32-hex md5 of the nonce (md5(num) in the template DSL).
  • Probe 4 (internal): DELETE /document/<db>/<rid>; status >= 100.
  • check(url) returns (True, details) only when probes 1-3 hold (the template's public verdict); details keeps paths, statuses, per-matcher flags, the chosen db, fname, nonce, rid, the expected md5, a 200-char snippet of the function answer and the extractor string groovy function probe: db=.. fname=.. rid=.. md5_match=B.
  • A 12-char md5 token is computed over the JSON result so a merely reflected page is distinguishable from a real Groovy execution.
  • 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-11467/scanner.py urls.txt 8 CVE-2017-11467.csv --json CVE-2017-11467.json

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

urls.txt is a plain file, one target per line, # for comments. Lines may omit the scheme (127.0.0.1:2480 works, http:// is prepended). The HTTP API usually lives on port 2480; the binary protocol on 2424 is not probed by this artifact.

Example scanner output

RCE POC SUITE
 scanner : CVE-2017-11467 v1.0.0
 threads : 4 | csv: CVE-2017-11467.csv | json: CVE-2017-11467.json
RCE POC SUITE
[..] loaded 1 target(s) from urls.txt
[..] [1/1] http://127.0.0.1:2480 -> VULNERABLE
[..] json sidecar saved: CVE-2017-11467.json
[..] summary: total=1 vulnerable=1 not-vuln=0 errors=0
[..] timing : avg=9ms max=9ms wall=0.01s
[..] report saved: CVE-2017-11467.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-11467/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-11467.yaml
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2017-11467
  • SSD advisory: https://ssd-disclosure.com/ssd-advisory-orientdb-code-execution/
  • Metasploit module: https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/orientdb_exec.rb
  • GitHub advisory: https://github.com/advisories/GHSA-xm6r-4466-mr74
  • OrientDB 2.2.23 release notes: https://github.com/orientechnologies/orientdb/wiki/OrientDB-2.2-Release-Notes#2223---july-11-2017
下载工具

相关工具

  • nuclei

    基于 YAML 的快速漏洞扫描器,采用模板驱动的检测引擎,可对 Web 应用、API、网络、DNS 和云基础设施进行自动化安全测试。

  • zaproxy

    开源Web应用安全扫描器,支持自动化漏洞检测、手动渗透测试和API安全测试,并内置基于代理的拦截引擎。

  • openvas-scanner

    该仓库包含 Greenbone Community Edition 的扫描器组件。

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    Callisto

    jetp1ane/callisto

    自动化二进制漏洞分析工具,通过Ghidra反编译可执行文件,使用Semgrep扫描伪C代码,并利用GPT-3.5-Turbo验证发现以减少误报。

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    针对 CVE-2026-43499 的一键式 Android 内核漏洞利用应用,通过内核模块加载实现权限提升,并提供偏移提取与设备端分析工具。

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher 平台,可部署伪基站 GSM 小区以拦截短信、注入消息并追踪移动设备

    721
  • 4

    opencti

    opencti-platform/opencti

    开放式网络威胁情报平台

    535
  • 5

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    424
  • 6

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    419

探索所有工具

浏览我们的工具集合

查看所有工具 →