Skip to content

fix: Unauthenticated destructive and system operations - #8

Open
MBK-fr wants to merge 1 commit into
masterfrom
darkmoon/fix-admin-only-destructive-and-system-operations
Open

MBK-fr wants to merge 1 commit into
masterfrom
darkmoon/fix-admin-only-destructive-and-system-operations

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_ce288d high Unauthenticated Destructive Operation - deleteAllPastes Without Authorization /graphql (query deleteAllPastes)
vuln_4f7721 medium Destructive Operation as Query - deleteAllPastes Accessible Without Mutation /graphql (deleteAllPastes query)
vuln_7695e7 low systemUpdate Query - Unauthenticated State-Changing Operation http://dvga.demo.invalid:5013/graphql
vuln_8d41c4 low System Health Information Disclosure via Unauthenticated GraphQL Query /graphql (query systemHealth)

Fix

deleteAllPastes moves from Query to Mutation (no longer reachable through GET) and requires an administrator; systemUpdate and systemHealth require an administrator token.

Files changed:

  • core/auth.py
  • 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_ce288d, vuln_4f7721, vuln_7695e7, vuln_8d41c4.

`deleteAllPastes` moves from Query to Mutation (no longer reachable through GET) and requires an administrator; `systemUpdate` and `systemHealth` require an administrator token.

Findings: vuln_ce288d, vuln_4f7721, vuln_7695e7, vuln_8d41c4
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