Skip to content

fix: Passwords exposed through the GraphQL UserObject type - #4

Open
MBK-fr wants to merge 1 commit into
masterfrom
darkmoon/fix-credential-exposure-user-object
Open

MBK-fr wants to merge 1 commit into
masterfrom
darkmoon/fix-credential-exposure-user-object

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_323778 critical GraphQL Users Query Exposes Credentials (Passwords in Cleartext) http://dvga.demo.invalid:5013/graphql
vuln_172ae3 critical Authentication Bypass - Credentials Exposed Enable Full Login http://dvga.demo.invalid:5013/graphql
vuln_95ee01 high JWT Authentication Returns Plaintext Password via me(token) Query http://dvga.demo.invalid:5013/graphql
vuln_cd4c7e medium GraphQL Union Type Exposes User Credentials in Search Results /graphql (query search with UserObject fragment)
vuln_038822 high GraphQL Search Union Type Exposes User Credentials via Browser /graphql (search query with UserObject fragment)
vuln_9fdd92 high Unauthenticated User Registration via createUser Mutation http://dvga.demo.invalid:5013/graphql

Fix

Removes password from UserObject (and its custom resolver), so users, me, search (SearchResult union) and createUser can no longer return credentials to any caller.

Files changed:

  • core/views.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_323778, vuln_172ae3, vuln_95ee01, vuln_cd4c7e, vuln_038822, vuln_9fdd92.

Removes `password` from `UserObject` (and its custom resolver), so `users`, `me`, `search` (SearchResult union) and `createUser` can no longer return credentials to any caller.

Findings: vuln_323778, vuln_172ae3, vuln_95ee01, vuln_cd4c7e, vuln_038822, vuln_9fdd92
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