
CVE-2018-18778 - ACME mini_httpd Arbitrary File Read
CVE-2018-18778 is a security vulnerability affecting ACME mini_httpd (a lightweight web server).
The vulnerability allows remote attackers to read arbitrary files on the server.
It was publicly disclosed in October 2018 and impacts versions of mini_httpd prior to 1.30.
The vulnerability exists due to improper handling of HTTP requests, specifically related to how the server processes empty or malformed Host headers.
When a specially crafted request is processed, the server may incorrectly construct file paths, which can result in path traversal-style behavior and allow an attacker to access sensitive files outside the intended web directory.
This can expose files such as:
/etc/passwdSuccessful exploitation allows a remote unauthenticated attacker to:
There is no direct code execution, but information disclosure can be severe in exposed environments.
This information is provided for educational and defensive security research purposes only.
Do not test or exploit systems without explicit authorization.