CVE-2026-45090 Dalfox: Unauthenticated Remote DoS via Closed-Channel Write in `ParameterAnalysis` (server mode)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
Dalfox is a powerful open-source XSS scanner and utility focused on automation. Prior to 2.13.0, ParameterAnalysis in pkg/scanning/parameterAnalysis.go runs two sequential worker stages that both write to the same results channel. The channel is correctly closed after the first stage completes (close(results) at line 438), but the second stage — which processes POST-body parameters (dp) — is then launched with the same already-closed channel as its output. When a scanned parameter is reflected, processParams executes results <- paramResult on the closed channel, triggering a Go runtime panic that crashes the entire dalfox process. In server mode, the crash is remotely triggerable by any unauthenticated caller who can reach the REST API, because the default configuration has no API key and the second stage activates whenever options.Data != "" (i.e., the attacker supplies the data field) and the target reflects at least one parameter. This vulnerability is fixed in 2.13.0.
Upgrade path
2 packages: 0 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hahwul dalfox(Go) | < 2.13.0; <= 1.2.2; <= 2.12.0; All versions | 2.13.0 | Partially fixed |
| hahwul dalfox | = < 2.13.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hahwul dalfox | = < 2.13.0 | No fix listed |
| hahwul dalfox(Go) | < 2.13.0 | 2.13.0 |
| hahwul dalfox(Go) | <= 1.2.2 | No fix listed |
| hahwul dalfox(Go) | All versions | No fix listed |
| hahwul dalfox(Go) | <= 2.12.0 | No fix listed |
References
- https://github.com/hahwul/dalfox/security/advisories/GHSA-2g4x-fq3j-cgq4 exploit vendor-advisory
- https://github.com/hahwul/dalfox/releases/tag/v2.13.0
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com