Skip to content

fix: Plaintext password storage - #5

Open
MBK-fr wants to merge 1 commit into
masterfrom
darkmoon/fix-plaintext-password-storage
Open

MBK-fr wants to merge 1 commit into
masterfrom
darkmoon/fix-plaintext-password-storage

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_4cb1e3 high Plaintext Password Storage in Database - No Hashing http://dvga.demo.invalid:5013/graphql
vuln_16ddc9 critical UNION-Based SQL Injection - Full Database Schema and Credential Extraction http://dvga.demo.invalid:5013/graphql
vuln_172ae3 critical Authentication Bypass - Credentials Exposed Enable Full Login http://dvga.demo.invalid:5013/graphql

Fix

Stores salted password hashes (werkzeug PBKDF2) instead of plaintext: seeded accounts and createUser hash on write, login and systemDiagnostics verify with check_password_hash; the column is widened for the hash format.

Files changed:

  • core/models.py
  • core/security.py
  • core/views.py
  • setup.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_4cb1e3, vuln_16ddc9, vuln_172ae3.

Stores salted password hashes (werkzeug PBKDF2) instead of plaintext: seeded accounts and `createUser` hash on write, `login` and `systemDiagnostics` verify with `check_password_hash`; the column is widened for the hash format.

Findings: vuln_4cb1e3, vuln_16ddc9, vuln_172ae3
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