Set up a deliberately vulnerable web application (DVWA) inside a Docker container on Debian Linux, then used Burp Suite to intercept and analyze HTTP traffic — including login requests, session cookies, and status codes.
docker pull vulnerables/web-dvwa
docker run -d -p 80:80 --name dvwa vulnerables/web-dvwa
docker psOpen browser → http://localhost
Login: admin / password
- Open Burp Suite
- Go to Proxy → Intercept → Open Browser
- Turn Intercept ON
Logged into DVWA through Burp browser — captured the POST request:
Key finding: Username and password are visible in plaintext in the request body — no encryption.
After login, the server sets a session cookie in the response:
Key finding: Cookie has no HttpOnly or Secure flags — vulnerable to theft via XSS or network sniffing.
Used Repeater to manually resend and modify the login request:
- Credentials sent in plaintext — no HTTPS
- Session cookie missing
HttpOnlyandSecureflags - Server exposes PHP version via
X-Powered-Byheader - Session ID not rotated after login — session fixation risk
- How Docker exposes containerized services on a local network
- How Burp Suite intercepts traffic between browser and server
- Structure of HTTP requests and responses
- How session cookies work and common misconfigurations
- How to use Burp Repeater to craft and resend requests
This project is for educational purposes only. All testing was done in a controlled local environment on a deliberately vulnerable application.
[note: if i made any mistake please lemme know. i am willing to learn-thank you ]







