mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 16:40:24 +00:00
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):
- brain/ LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
dispatch, A51 channels, and the OSINT cluster
- knowledge/ LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
MITRE ATT&CK data
- reference/ defensive threat-reference (C3, shhbruh doc) + AdaYaml parser
License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.
Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.
https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
45 lines
1.4 KiB
Markdown
45 lines
1.4 KiB
Markdown
# API Reference: Testing for Host Header Injection
|
|
|
|
## Alternative Host Headers
|
|
|
|
| Header | Description |
|
|
|--------|-------------|
|
|
| `X-Forwarded-Host` | Proxy-set original host |
|
|
| `X-Host` | Alternative host header |
|
|
| `X-Forwarded-Server` | Forwarded server name |
|
|
| `X-HTTP-Host-Override` | Host override |
|
|
| `Forwarded: host=` | RFC 7239 forwarded header |
|
|
| `X-Original-URL` | URL rewrite override |
|
|
|
|
## Attack Scenarios
|
|
|
|
| Attack | Severity | Impact |
|
|
|--------|----------|--------|
|
|
| Password reset poisoning | Critical | Token theft via poisoned link |
|
|
| Web cache poisoning | Critical | Stored XSS via cached response |
|
|
| SSRF via Host | High | Internal service access |
|
|
| Virtual host bypass | Medium | Access to other vhosts |
|
|
| Open redirect | Medium | Phishing via redirect |
|
|
|
|
## Test Techniques
|
|
|
|
| Technique | Payload Example |
|
|
|-----------|----------------|
|
|
| Direct Host override | `Host: evil.com` |
|
|
| Alternative header | `X-Forwarded-Host: evil.com` |
|
|
| Port injection | `Host: target.com:@evil.com` |
|
|
| Double Host | Two Host headers |
|
|
| Absolute URL | `GET http://target.com/ Host: evil.com` |
|
|
|
|
## Python Libraries
|
|
|
|
| Library | Version | Purpose |
|
|
|---------|---------|---------|
|
|
| `requests` | >=2.28 | HTTP requests with custom headers |
|
|
| `json` | stdlib | Report generation |
|
|
|
|
## References
|
|
|
|
- PortSwigger Host Header: https://portswigger.net/web-security/host-header
|
|
- OWASP Host Header: https://owasp.org/www-project-web-security-testing-guide/
|