Dalfox: Unauthenticated Arbitrary File Create/Append via `output` Option in Dalfox Server Mode
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| hahwul | dalfox | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Hahwul | Dalfox |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-8hf9-3q64-q2qf | Dalfox Server Mode has an Unauthenticated Arbitrary File Create/Append via `output` Option |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.243% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Hahwul
Hahwul dalfox |
|
| Vendors & Products |
Hahwul
Hahwul dalfox |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Dalfox is a powerful open-source XSS scanner and utility focused on automation. Prior to 2.13.0, when dalfox is run in REST API server mode, the output, output-all, and debug fields in model.Options are JSON-tagged and deserialized directly from the attacker's request body, then propagated unchanged through dalfox.Initialize into the scan engine's logging path. The logger opens the attacker-supplied path with os.O_APPEND|os.O_CREATE|os.O_WRONLY and writes scan log lines to it. Critically, this file write block lives outside the IsLibrary guard in DalLog, so it executes even in server/library mode where file output was never intended to operate. Because no API key is required in the default configuration, an unauthenticated network caller can create or append to any file writable by the dalfox process on the host filesystem. This vulnerability is fixed in 2.13.0. | |
| Title | Dalfox: Unauthenticated Arbitrary File Create/Append via `output` Option in Dalfox Server Mode | |
| Weaknesses | CWE-306 CWE-434 CWE-73 |
|
| References |
| |
| Metrics |
cvssV3_1
|