Greenbone Vulnerability Management (GVM) is an open-source tool for vulnerability scanning and management. It helps security professionals identify, assess, and remediate vulnerabilities in systems. GVM integrates several tools into a comprehensive suite, including a powerful scanner and an intuitive web-based interface, the Greenbone Security Assistant.
The OWASP Broken Web Application Project is a collection of intentionally vulnerable web applications used for security testing, training, and research. These applications simulate real-world vulnerabilities, providing a safe environment for practicing scanning and exploitation techniques.
- Part 1: Install and configure GVM.
- Part 2: Scan the OWASP Broken Web Application for vulnerabilities.
- Part 3: Exploit a vulnerability found by GVM.
- Kali Linux VM customized for this course.
- OWASP Broken Web Application VM with IP address: 192.168.56.101
- Internet access.
- Open a terminal in your Kali Linux VM.
- Update your system packages:
sudo apt update && sudo apt upgrade -y - Install GVM using the following command:
sudo apt install gvm -y
- Configure GVM:
sudo gvm-setup
- This command may take some time as it downloads and sets up the necessary components like vulnerability definitions.
- After the setup, verify the installation by checking the GVM services:
sudo gvm-check-setup
- Ensure all components are marked as “OK” in the output.
- Start the GVM services:
sudo gvm-start
- Once the services start, access the Greenbone Security Assistant interface by navigating to
https://127.0.0.1:9392in your browser. - Log in with the following credentials:
- Username: admin
- Password: admin (or the password set during
gvm-setup).
- Navigate to Scans -> Tasks.
- Click the Task Wizard (magic wand icon), then select Advanced Task Wizard.
- Set the task name as OWASP Broken Web Application.
- Enter the target IP address: 192.168.56.101.
- Click Create to start the scan.
- Once the scan is complete, view the report under the Reports column.
- Examine vulnerabilities, paying attention to those with High or Critical severity levels.
- Document key vulnerabilities, their descriptions, and potential impacts.
- Navigate to the Ports tab in the report.
- Document services running on open ports and their associated risks.
Perform an Nmap scan to validate the findings from GVM:
sudo nmap -sV 192.168.56.101Analyze the output for open ports and running services.
Choose one vulnerability to exploit. For example:
-
SQL Injection:
- Use SQLMap to test and exploit the vulnerability:
sqlmap -u "http://192.168.56.101/vulnerable.php?id=1" --dbs - Follow the prompts to extract database information.
- Use SQLMap to test and exploit the vulnerability:
-
XSS:
- Identify an input field susceptible to XSS.
- Inject malicious JavaScript (e.g.,
<script>alert('XSS');</script>) and observe its behavior.
Document your steps and findings, including screenshots of successful exploits.
- What are the common vulnerabilities found in web applications like OWASP Broken Web Application?
- What steps would you recommend to secure the application based on your findings?
Compile your findings into a detailed report. Include:
- Vulnerabilities identified in the scan.
- Exploitation steps and results.
- Answers to the reflection questions.
Submit the report as a PDF file via the designated platform by the due date.