A containerized web application intentionally vulnerable to SQL injection attacks, designed for classroom use. Students run a single Docker container that launches a browser-accessible search interface backed by a PostgreSQL database.
Warning: This application is deliberately insecure. It must never be deployed on a public network or production environment. It is for educational use only in controlled, isolated settings.
Students will practice identifying and exploiting two common SQL injection attack classes:
UNION SELECT query to the attacker-controlled input to retrieve data from other tables or the database catalogdocker pull pebenbow/open-sql-sqli-docker:latest
docker run --name sqli-lab -p 8080:8080 pebenbow/open-sql-sqli-docker:latest
Then open http://localhost:8080 in your browser.
docker stop sqli-lab
docker rm sqli-lab
docker build -f Containerfile -t open-sql-sqli-docker .
docker run --name sqli-lab -p 8080:8080 open-sql-sqli-docker
Developed by Pete Benbow at Davidson College for use in database and cybersecurity coursework.
Content type
Image
Digest
sha256:954baa158…
Size
161.2 MB
Last updated
5 months ago
docker pull pebenbow/open-sql-sqli-docker