pentest-web
Web app saldiri yuzeyi advisory + Burp/ZAP cikti analizi + OWASP Top 10 methodology. Live exploit composer'lama scope deklare ile yapilir; otomatik exploit calistirma yok.
Triggers
- "OWASP Top 10 test"
- "Burp ciktisi inceleyin"
- "SQL injection bulduk mu"
- "XSS testi yapalim"
- "SSRF / IDOR / auth bypass arar misin"
- "request smuggling"
OWASP Top 10 Kontrol Listesi
| # |
Kategori |
Test Yaklasimi |
| A01 |
Broken Access Control |
Yatay/dikey IDOR, force browse, JWT manipulation |
| A02 |
Cryptographic Failures |
TLS config, parola hash, sensitive data unencrypted |
| A03 |
Injection |
SQLi (in-band, blind, OOB), NoSQL, OS command, XPath |
| A04 |
Insecure Design |
Rate limit eksik, business logic flaw |
| A05 |
Security Misconfig |
Default cred, verbose error, exposed admin panel |
| A06 |
Vulnerable Components |
Dependency CVE, framework version |
| A07 |
Auth Failures |
Brute force, password reset, session fix |
| A08 |
Software/Data Integrity |
Unsigned update, deserialization |
| A09 |
Logging Failures |
Bypass detection, audit gap |
| A10 |
SSRF |
Internal port reach, cloud metadata steal |
Burp/ZAP Cikti Analizi
Kullanici Burp Pro/CE veya ZAP report yapistirirsa:
## Burp Active Scan — analiz
### True Positive
- High: SQL Injection in /api/users?id= (Time-based, MySQL)
- Payload: `1' AND SLEEP(5)-- -`
- Etki: Tam DB okuma + potential RCE (FILE priv varsa)
- Medium: Reflected XSS in /search?q= (no CSP)
### False Positive (elenir)
- Info: Server header reveals nginx — bilgi sizintisi degil, fix oncelik dusuk
- Low: Cookie missing HttpOnly — only-server cookie, JS erisimi yok
### Onerilen Manuel Test
- IDOR check /api/users/{id} — auth bypass denemesi
- Race condition /api/purchase (5 paralel istek)
- JWT alg=none + alg=HS256 ile RSA key swap
Yaygin Methodology Akisi
1. Recon: subfinder + httpx + wappalyzer
2. Crawl: ffuf / gobuster / katana (rate-limited)
3. Param discovery: paramspider / Arjun
4. Active probe: nuclei templates + manual Burp
5. Auth test: JWT decode + signature check + algorithm swap
6. Bizlogic: race, IDOR, price manipulation (pentest-bizlogic'e devret)
7. Report: OWASP severity + CVSS + remediation
Onerilen Komutlar (Scope ile)
# MODERATE — content discovery (rate limit)
ffuf -w wordlist.txt -u https://<hedef>/FUZZ -t 20 -p 0.1 -mc 200,301,403 -o ffuf_<hedef>_$(date +%Y%m%d_%H%M%S).json
# MODERATE — auto template scan
nuclei -u https://<hedef> -severity medium,high,critical -rate-limit 50 -o nuclei_<hedef>_$(date +%Y%m%d_%H%M%S).txt
# LOUD — SQLi targeted (sadece tek param + level 1)
# sqlmap kullanim onerilir ama composer'lama icin scope deklare zorunlu
JWT Test Onerisi
# Manuel decode (QUIET, hicbir hedefe istek atmaz)
echo <token> | cut -d. -f2 | base64 -d | jq .
# Common bypass denemeleri
# alg: "none" -> imza atla
# alg: HS256 + RSA pub -> public key ile HMAC
# kid: ../../etc/passwd -> path traversal
# exp manipulation
CSP / Header Analiz
# QUIET — header sadece
curl -sI https://<hedef> | grep -iE 'content-security-policy|x-frame-options|strict-transport|x-content-type'
Out-of-Scope
- Live sqlmap orchestration (kullanici yetkili
sqlmap calistirir)
- Mass scan, parallel attacks on multiple targets
- Automated exploitation (PoC validation pentest-exploit-chain'de)
- DoS denemesi
1---2name: pentest-web3description: Web application security testing methodology — OWASP Top 10, SSRF, IDOR, auth bypass, injection sinifi advisory. Burp/ZAP cikti analizi. Triggers on web pentest, OWASP, SQL injection, XSS, SSRF, IDOR, auth bypass, Burp output, ZAP, parameter pollution, request smuggling.4license: MIT5---67# pentest-web89Web app saldiri yuzeyi advisory + Burp/ZAP cikti analizi + OWASP Top 10 methodology. Live exploit composer'lama scope deklare ile yapilir; otomatik exploit calistirma yok.1011## Triggers1213- "OWASP Top 10 test"14- "Burp ciktisi inceleyin"15- "SQL injection bulduk mu"16- "XSS testi yapalim"17- "SSRF / IDOR / auth bypass arar misin"18- "request smuggling"1920## OWASP Top 10 Kontrol Listesi2122| # | Kategori | Test Yaklasimi |23|---|----------|---------------|24| A01 | Broken Access Control | Yatay/dikey IDOR, force browse, JWT manipulation |25| A02 | Cryptographic Failures | TLS config, parola hash, sensitive data unencrypted |26| A03 | Injection | SQLi (in-band, blind, OOB), NoSQL, OS command, XPath |27| A04 | Insecure Design | Rate limit eksik, business logic flaw |28| A05 | Security Misconfig | Default cred, verbose error, exposed admin panel |29| A06 | Vulnerable Components | Dependency CVE, framework version |30| A07 | Auth Failures | Brute force, password reset, session fix |31| A08 | Software/Data Integrity | Unsigned update, deserialization |32| A09 | Logging Failures | Bypass detection, audit gap |33| A10 | SSRF | Internal port reach, cloud metadata steal |3435## Burp/ZAP Cikti Analizi3637Kullanici Burp Pro/CE veya ZAP report yapistirirsa:3839```markdown40## Burp Active Scan — analiz4142### True Positive43- High: SQL Injection in /api/users?id= (Time-based, MySQL)44 - Payload: `1' AND SLEEP(5)-- -`45 - Etki: Tam DB okuma + potential RCE (FILE priv varsa)46- Medium: Reflected XSS in /search?q= (no CSP)4748### False Positive (elenir)49- Info: Server header reveals nginx — bilgi sizintisi degil, fix oncelik dusuk50- Low: Cookie missing HttpOnly — only-server cookie, JS erisimi yok5152### Onerilen Manuel Test53- IDOR check /api/users/{id} — auth bypass denemesi54- Race condition /api/purchase (5 paralel istek)55- JWT alg=none + alg=HS256 ile RSA key swap56```5758## Yaygin Methodology Akisi5960```611. Recon: subfinder + httpx + wappalyzer622. Crawl: ffuf / gobuster / katana (rate-limited)633. Param discovery: paramspider / Arjun644. Active probe: nuclei templates + manual Burp655. Auth test: JWT decode + signature check + algorithm swap666. Bizlogic: race, IDOR, price manipulation (pentest-bizlogic'e devret)677. Report: OWASP severity + CVSS + remediation68```6970## Onerilen Komutlar (Scope ile)7172```bash73# MODERATE — content discovery (rate limit)74ffuf -w wordlist.txt -u https://<hedef>/FUZZ -t 20 -p 0.1 -mc 200,301,403 -o ffuf_<hedef>_$(date +%Y%m%d_%H%M%S).json7576# MODERATE — auto template scan77nuclei -u https://<hedef> -severity medium,high,critical -rate-limit 50 -o nuclei_<hedef>_$(date +%Y%m%d_%H%M%S).txt7879# LOUD — SQLi targeted (sadece tek param + level 1)80# sqlmap kullanim onerilir ama composer'lama icin scope deklare zorunlu81```8283## JWT Test Onerisi8485```bash86# Manuel decode (QUIET, hicbir hedefe istek atmaz)87echo <token> | cut -d. -f2 | base64 -d | jq .8889# Common bypass denemeleri90# alg: "none" -> imza atla91# alg: HS256 + RSA pub -> public key ile HMAC92# kid: ../../etc/passwd -> path traversal93# exp manipulation94```9596## CSP / Header Analiz9798```bash99# QUIET — header sadece100curl -sI https://<hedef> | grep -iE 'content-security-policy|x-frame-options|strict-transport|x-content-type'101```102103## Out-of-Scope104105- Live sqlmap orchestration (kullanici yetkili `sqlmap` calistirir)106- Mass scan, parallel attacks on multiple targets107- Automated exploitation (PoC validation pentest-exploit-chain'de)108- DoS denemesi