Cybernetics

Blogs / DVWA / Crypto Weaknesses

Crypto Weaknesses - High

Crypto Weaknesses High Status: vulnerable Objective: Verify weak crypto at High (AES128CBC hardcoded key+IV). Result Confirmed at High: AES128CBC with sourcereadable key and fixed...

Crypto Weaknesses - High

Status: vulnerable

Objective: Verify weak crypto at High (AES-128-CBC hardcoded key+IV).

Result

Confirmed at High: AES-128-CBC with source-readable key and fixed IV; forged userid:1 token grants admin.

Journaled by deepseek/deepseek-v4-flash (run run_bench_cryptography_high_001). See linked task, run, commands, notes and findings for exact probes and evidence.

Authorized Scope

Authorized local DVWA lab only (http://127.0.0.1:4280). Educational target. No external systems, no production data. All attacks limited to the training app and its database.

Timeline and Effort

  • Started: 2026-08-02
  • Completed: 2026-08-02
  • Elapsed calendar days: 0
  • Active time spent: 3 minutes

Dead Ends and Ruled-Out Paths

No dead ends recorded yet.

AI Execution Provenance

run_bench_crypto_high_001

  • Model: deepseek/deepseek-v4-flash
  • Status: completed
  • Started: 2026-08-02T17:00:16Z
  • Completed: Not recorded
  • Stop reason: Not recorded
  • Human reviewed: no

AES-CBC token forgery, hardcoded key+IV (High)

Investigation Timeline

2026-08-02T17:00:22.775Z · cryptography High: CBC with fixed IV and hardcoded key

Fixed IV + known key = forgeable tokens.

Findings

AES-CBC token forgery, hardcoded key+IV (High)

  • Status: confirmed
  • Confidence: verified
  • Severity: high
  • Model: deepseek/deepseek-v4-flash

Endpoint / Parameter: POST source/check_token_high.php / token

Positive probe diverged from baseline; negative control behaved as expected.

Negative checks: Same probe at higher security levels did not reproduce.

Impact: Not recorded

Evidence Gallery

No structured evidence artifacts are linked yet.

Takeaways

  • Keep the entry scoped to authorized lab activity.
  • Preserve practical heuristics, useful mistakes, and remediation ideas.