TinyWeb is a web server (HTTP, HTTPS) written in Delphi for Win32. Prior to version 2.03, an integer overflow vulnerability in the string-to-integer conversion routine (_Val) allows an unauthenticated remote attacker to bypass Content-Length restrictions and perform HTTP Request Smuggling. This can lead to unauthorized access, security filter bypass, and potential cache poisoning. The impact is critical for servers using persistent connections (Keep-Alive). This issue has been patched in version 2.03.
An integer overflow error in the internal _Val procedure responsible for converting a string to an integer value causes improper processing of the Content-Length header value in HTTP requests. An attacker can craft an HTTP request with a Content-Length value that causes an overflow, resulting in a discrepancy between how the frontend and backend servers interpret request boundaries — the essence of an HTTP Request Smuggling attack (CWE-444). The attack requires no authentication or user interaction.
An attacker can gain unauthorized access to resources, bypass security filters, and potentially poison the server cache (cache poisoning), which may affect other users using the server.
TinyWeb should be updated to version 2.03, where the issue has been fixed. Patch available in the project's GitHub repository (commit d2edd0322c3d74beee0a6c0191299b8946695d4e). Until the update is applied, it is recommended to consider disabling Keep-Alive connections and restricting access to the server using a firewall.
Ritlabs TinyWeb — versions before 2.03 (HTTP/HTTPS server written in Delphi for Win32 platform); the vulnerability is particularly severe when Keep-Alive connections are enabled.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XRitlabs Tinyweb
APPRitlabs< 2.03
Related vulnerabilities
TinyWeb: nieprawidłowa walidacja nagłówków HTTP umożliwia header injection
RCE lub ujawnienie kodu źródłowego w TinyWeb przez pominięcie kontroli parametrów CGI
Command injection w TinyWeb HTTP Server via parametry CGI ISINDEX
TinyWeb is a web server (HTTP, HTTPS) written in Delphi for Win32. Versions prior to version 2.02 are vulnerab...
TinyWeb is a web server (HTTP, HTTPS) written in Delphi for Win32. Versions prior to version 2.02 have a Denia...