Cybernetics

Blogs / DVWA / SQL

SQL - High

SQL High Status: vulnerable Objective: Verify SQL injection on sqli at High (sessioninput + LIMIT 1 + generic die). Result Confirmed SQLi at High. UNION extraction works despite L...

SQL - High

Status: vulnerable

Objective: Verify SQL injection on sqli at High (session-input + LIMIT 1 + generic die).

Result

Confirmed SQLi at High. UNION extraction works despite LIMIT 1; uncaught mysqli_sql_exception discloses SQL+line. Negative control clean.

Journaled by deepseek/deepseek-v4-flash (run run_bench_sqli_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_sqli_high_001

  • Model: deepseek/deepseek-v4-flash
  • Status: completed
  • Started: 2026-08-02T15:40:59Z
  • Completed: Not recorded
  • Stop reason: Not recorded
  • Human reviewed: no

SQL Injection via session id + fatal error disclosure (High)

Investigation Timeline

2026-08-02T15:41:05.353Z · sqli High: exception mode bypasses die(); UNION works despite LIMIT 1

Two-layer failure: LIMIT 1 and or die() both ineffective.

2026-08-02T15:41:06.334Z · or die() not effective with exceptions enabled

Check error_reporting/mysqli exception mode before trusting die-based defenses.

Findings

SQL Injection via session id + fatal error disclosure (High)

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

Endpoint / Parameter: POST /vulnerabilities/sqli/session-input.php -> GET /vulnerabilities/sqli/ / id

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.