What kind of vulnerability is this?
-- signup stores the name safely with a placeholder: -- name = "x' OR '1'='1" -- a nightly job later does: sql = "DELETE FROM tmp WHERE owner = '" + name + "'"
- Blind time-based injection
- Stored cross-site scripting
- Privilege escalation via GRANT
- Second-order SQL injection
The payload is stored harmlessly, then injected when trusted-looking data from the database is concatenated into new SQL.
Play SQL & Databases ▸