Description
QuestDB through 10.2.0 contains an HTTP response header injection vulnerability in the /exp export endpoint that copies the filename parameter into the Content-Disposition header unsanitized. Attackers can lure users into opening crafted /exp links with encoded CRLF sequences to inject arbitrary response headers such as Set-Cookie from the QuestDB origin.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| questdb | QuestDB | 0 ≤10.2.0 | — |
References
- https://github.com/questdb/questdb/blob/10.2.0/core/src/main/java/io/questdb/cutlass/http/processors/ExportQueryProcessor.java#L1118-L1122
- https://github.com/questdb/questdb/blob/10.2.0/core/src/main/java/io/questdb/cutlass/http/processors/ExportQueryProcessor.java#L1393-L1395
- https://github.com/questdb/questdb/pull/8390
- https://github.com/questdb/questdb/commit/e28cef35f65a3eb85262ad151f4293232cbd82c9
- https://www.vulncheck.com/advisories/questdb-through-10.2.0-http-response-header-injection-via-exp-filename-parameter