Skip to content

fix: Audit log exposed without authentication - #9

Open
MBK-fr wants to merge 1 commit into
masterfrom
darkmoon/fix-audit-log-exposure
Open

MBK-fr wants to merge 1 commit into
masterfrom
darkmoon/fix-audit-log-exposure

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_704663 medium Audit Logs Exposed Without Authentication - Query Replay Attack Surface http://dvga.demo.invalid:5013/graphql
vuln_1b00d6 medium GraphQL Audit Log Exposure - All Queries/Mutations Logged and Readable /graphql (query audits)
vuln_056f88 high Sensitive Audit Log Exposure via Browser - Credentials Leaked in Query Logs /audit

Fix

The audits query and the /audit page now require an administrator token, and credential arguments (password, token, accessToken, refreshToken, secret) are redacted before a query is stored, whatever the spacing or case.

Files changed:

  • core/auth.py
  • core/models.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_704663, vuln_1b00d6, vuln_056f88.

The `audits` query and the `/audit` page now require an administrator token, and credential arguments (password, token, accessToken, refreshToken, secret) are redacted before a query is stored, whatever the spacing or case.

Findings: vuln_704663, vuln_1b00d6, vuln_056f88
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