Wildcard Handling in sh-httpd 0.3/0.4
A vulnerability in Charles Steinkuehler sh-httpd versions 0.3 and 0.4 allows remote attackers to read arbitrary files or execute arbitrary CGI scripts by sending a specially crafted GET request containing an asterisk (*) wildcard character. The improper handling of the wildcard in the request enables attackers to bypass intended access controls and access files or scripts outside the intended scope.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to read sensitive files or execute arbitrary CGI scripts on the server, potentially leading to information disclosure, privilege escalation, or remote code execution depending on the server configuration and available scripts.
If you can’t patch tonight, do this now.
Restrict access to the web server to trusted hosts, disable CGI execution if not required, and use web server configuration to block requests containing wildcard characters until a patch is applied.
Patch, then assume compromise.
Upgrade to a version of sh-httpd that properly sanitizes and restricts the use of wildcard characters in HTTP requests, or apply a patch that addresses this issue.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.