ScriptAlias Directory Information Disclosure in NCSA and Apache httpd
A vulnerability in the ScriptAlias directory configuration of NCSA and Apache httpd allowed remote attackers to read the source code of CGI programs. This occurs when the web server is misconfigured such that the ScriptAlias directory is accessible for reading, rather than only for executing scripts, exposing the contents of CGI scripts to unauthorized users.
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.
Attackers can retrieve the source code of CGI programs, potentially exposing sensitive information such as credentials, internal logic, or other exploitable vulnerabilities within the scripts. This can lead to further compromise of the web server or the underlying system.
If you can’t patch tonight, do this now.
Restrict access to the ScriptAlias directory using appropriate web server configuration directives. Regularly audit web server configurations to ensure that sensitive directories are not exposed for reading.
Patch, then assume compromise.
Properly configure the ScriptAlias directory to prevent directory listing and direct reading of files. Ensure that the directory is only accessible for script execution and not for file retrieval. Update to a secure configuration as recommended by the vendor.
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.