**Description**
An authenticated user could supply a Content-Type value containing carriage return and line feed characters in a slot request. The value was stored with the upload and emitted verbatim in the HTTP response for later downloads. This allowed response-header injection, including Set-Cookie and Refresh headers, and with a double CRLF could terminate the header block and place attacker- controlled content in the response body on the file-share origin.
**Affected configurations**
All deployments using mod_http_file_share are affected.
**Mitigation**
Operators who cannot upgrade immediately should disable mod_http_file_share or restrict upload access to trusted users.
**Fixes**
Slot requests now validate Content-Type against the RFC 6838 media type syntax.
Commit: f369efa90f7f
**Attribution**
This issue was identified in an external security review.
**Description** An authenticated user could supply a Content-Type value containing carriage return and line feed characters in a slot request. The value was stored with the upload and emitted verbatim in the HTTP response for later downloads. This allowed response-header injection, including Set-Cookie and Refresh headers, and with a double CRLF could terminate the header block and place attacker- controlled content in the response body on the file-share origin. **Affected configurations** All deployments using mod_http_file_share are affected. **Mitigation** Operators who cannot upgrade immediately should disable mod_http_file_share or restrict upload access to trusted users. **Fixes** Slot requests now validate Content-Type against the RFC 6838 media type syntax. Commit: f369efa90f7f **Attribution** This issue was identified in an external security review.
Hidden