Path Disclosure in PHP-Nuke index.php
PHP-Nuke 5.4 and earlier contain a vulnerability in index.php where setting the 'file' parameter to 'index.php' causes the application to generate an error message that discloses the physical filesystem path of the web server. This information disclosure occurs due to improper error handling and lack of sanitization of user-supplied input.
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.
An attacker can remotely obtain the physical path of the web server's document root or script location. This information can be leveraged in further attacks, such as local file inclusion, path traversal, or other vulnerabilities that require knowledge of the server's directory structure.
If you can’t patch tonight, do this now.
Disable detailed error messages in production environments. Use custom error handlers to prevent the disclosure of sensitive server information. Validate and sanitize all user-supplied input to prevent unintended behavior.
Patch, then assume compromise.
Upgrade to a version of PHP-Nuke that properly sanitizes user input and does not disclose filesystem paths in error messages. Ensure that error reporting is configured to avoid leaking sensitive information to remote users.
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.