Red Hat Enterprise Linux 6
Busybox: httpd stack buffer overflow via an "i:" rule in a subdirectory httpd.conf
A flaw was found in BusyBox. When the httpd web server processes subdirectory configuration files, an overly long index page name can trigger a stack-based buffer overflow. An attacker with permissions to write to a subdirectory configuration file could exploit this vulnerability to execute arbitrary code with elevated privileges or cause a denial of service (DoS) by crashing the server process.
Affected versions and mitigation
From the CVE record and the vendor's references.Mitigation
The record names no fix. Check the vendor advisory below.
Workaround
Prevent untrusted users from creating or modifying configuration files by restricting write permissions on all web root and subdirectory paths served by BusyBox httpd to administrative accounts only: chmod -R o-w /path/to/webroot Additionally, ensure the BusyBox httpd process drops elevated privileges by specifying an unprivileged user with the `-u` flag upon execution: busybox httpd -u nobody Restarting the daemon is required for process-level flag changes to take effect, which will temporarily terminate active network connections. Caveats: Running under a non-privileged user account prevents binding directly to privileged ports (below 1024) without additional system capabilities or port forwarding, and restricting directory permissions may interfere with workflows that require unprivileged file uploads.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.