SQL Injection (SQLi) Assessment
Introduction
SQL Injection (SQLi) Assessment
Introduction
SQL Injection is a web application vulnerability that occurs when user input is inserted directly into SQL queries without proper sanitization or validation. Attackers exploit this weakness by injecting malicious SQL commands into input fields. Successful exploitation can allow attackers to bypass authentication, retrieve confidential information, modify databases, or completely compromise the application.
Objective
The objective of this assessment was to identify whether DVWA was vulnerable to SQL Injection attacks and determine the potential impact of exploitation.
Target Information
- Target Application: DVWA
- Target URL:
[http://192.168.56.105/dvwa](http://192.168.56.105/dvwa) - Vulnerability Module: SQL Injection
- Security Level: Low
Tools Used
- Web Browser
- Parrot OS
- DVWA Application
Payload Used
Screenshot

Methodology
- Accessed the SQL Injection module in DVWA.
- Located the vulnerable input field.
- Inserted the SQL Injection payload into the parameter.
- Submitted the request to the application.
- Observed the response generated by the server.
Observation
The application returned multiple user records after the payload was submitted. Authentication restrictions were bypassed successfully.
Evidence
- User information became visible in the browser.
- Multiple usernames and surnames were displayed.
- Authentication bypass was achieved.
Explanation
The application directly inserted user input into SQL queries without sanitization. The payload manipulated the SQL logic and forced the database query to always evaluate as true.
Impact
- Unauthorized access
- Database information disclosure
- Authentication bypass
- Full database compromise
- Possible privilege escalation
Recommendations
- Use prepared statements
- Implement parameterized queries
- Sanitize and validate user input
- Apply least privilege to database accounts
- Disable verbose database error messages
Conclusion
The DVWA application was vulnerable to SQL Injection attacks. The vulnerability could allow attackers to access sensitive information and fully compromise the database system.
메타데이터
- post_id
- 3a263b3dbc1c
- slug
- sql-injection-sqli-assessment-3a263b3dbc1c
- url
- https://medium.com/@knyutho2/sql-injection-sqli-assessment-3a263b3dbc1c
- canonical_url
- https://medium.com/@knyutho2/sql-injection-sqli-assessment-3a263b3dbc1c
- author_url
- https://medium.com/@knyutho2
- status
- ok
- fetched_at
- 2026-06-22 12:55:45