Directory Traversal in DaZPHPNews makepost.php
A directory traversal vulnerability exists in makepost.php in DaZPHPNews 0.1-1. When PHP's register_globals is enabled and magic_quotes_gpc is disabled, remote attackers can include and execute arbitrary local files via directory traversal sequences (..) in the prefixdir parameter. This allows attackers to potentially execute arbitrary code on the server by including files outside the intended directory 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 execute arbitrary local files on the server, which can lead to remote code execution, compromise of the web application, and potentially full system compromise depending on the privileges of the web server process.
If you can’t patch tonight, do this now.
As an immediate mitigation, disable register_globals and enable magic_quotes_gpc in the PHP configuration. Restrict access to the vulnerable script and use web server controls to prevent access to sensitive files. Employ input validation to ensure that user-supplied parameters do not contain directory traversal sequences.
Patch, then assume compromise.
Upgrade to a fixed version of DaZPHPNews that properly sanitizes user input and does not rely on insecure PHP configurations. Ensure that register_globals is disabled and magic_quotes_gpc is enabled, or better, use input validation and sanitization to prevent directory traversal. Apply any vendor-supplied patches addressing 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.