Skip to content

fix: GraphQL introspection enabled - #10

Open
MBK-fr wants to merge 1 commit into
masterfrom
darkmoon/fix-graphql-introspection-enabled
Open

MBK-fr wants to merge 1 commit into
masterfrom
darkmoon/fix-graphql-introspection-enabled

Conversation

@MBK-fr

@MBK-fr MBK-fr commented Nov 21, 2026

Copy link
Copy Markdown

Findings

Darkmoon campaign camp_20261119_c80c95bf (DVGA demo target).

Finding Severity Title Endpoint
vuln_408624 medium GraphQL Introspection Fully Enabled - Complete Schema Disclosure http://dvga.demo.invalid:5013/graphql
vuln_1ca82f low GraphQL Introspection Enabled - Full Schema Exposed /graphql (introspection query)
vuln_1b5dd3 medium GraphQL Introspection Enabled - Full Schema Exposed via Browser /graphql (POST with __schema query)

Fix

The introspection middleware now blocks __schema and __type on every field and at every difficulty level (it previously ran only in hard mode and only on the first field of a request, which was trivially bypassed).

Files changed:

  • core/middleware.py

Validation intent

Manual verification that the documented exploit path no longer succeeds, plus the project's existing test suite. Changed Python files pass python3 -m py_compile.

Opened for human review; never auto-merged.


Darkmoon finding reference: vuln_408624, vuln_1ca82f, vuln_1b5dd3.

The introspection middleware now blocks `__schema` and `__type` on every field and at every difficulty level (it previously ran only in hard mode and only on the first field of a request, which was trivially bypassed).

Findings: vuln_408624, vuln_1ca82f, vuln_1b5dd3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant