Directory Traversal in GNU/Gallery admin.php
A directory traversal vulnerability exists in admin.php in GNU/Gallery 1.1.1.0 and earlier. The vulnerability is due to insufficient sanitization of the 'show' parameter, which allows remote attackers to include and execute arbitrary local files by supplying directory traversal sequences (..).
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, potentially leading to remote code execution, information disclosure, or further compromise of the affected system.
If you can’t patch tonight, do this now.
As an interim measure, restrict access to admin.php to trusted users only, and use web server configuration to block requests containing directory traversal patterns. Employ input validation and sanitization for all user-supplied parameters.
Patch, then assume compromise.
Upgrade to a fixed version of GNU/Gallery where input validation is properly implemented for the 'show' parameter in admin.php. Ensure that user-supplied input is sanitized to prevent directory traversal attacks.
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.