uhttpd vulnerable to HTTP request smuggling via case-sensitive Transfer-Encoding matching
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.
uhttpd is a small HTTP server. In unpatched repository snapshots, `client_parse_header()` in `client.c` lowercases header names but compares the `Transfer-Encoding` value to `chunked` using case-sensitive `strcmp`. A mixed-case transfer-coding token is accepted without enabling `r->transfer_chunked`, despite transfer-coding tokens being case-insensitive. On a keep-alive connection, the `chunked` POST body is left unread and request-shaped body bytes are parsed as another HTTP request, permitting HTTP request smuggling and boundary desynchronization. Commits ae015e099986ceace44975cb69629841a2d58d37 and 6641b050e5f7c7fd9ae92e8e119d6d6dfc6e9837 patch the issue.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| openwrt | >=2bef561c890f275ce3b785e6abdb3eda28c96aa8 <6641b050e5f7c7fd9ae92e8e119d6d6dfc6e9837, >=2bef561c890f275ce3b785e6abdb3eda28c96aa8 <ae015e099986ceace44975cb69629841a2d58d37 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket