iManager multiple vulnerabilities
Gjoko Krstic has discovered multiple vulnerabilities in iManager, which can be exploited by malicious people to conduct cross-site scripting attacks, manipulate certain data, and disclose sensitive information, according to Secunia.
1. Input passed via the “dir” parameter to scripts/random.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user’s browser session in context of an affected site.
2. Input passed via the “d” parameter to scripts/phpCrop/crop.php (when “s” is set) is not properly verified before being used to delete files. This can be exploited to delete arbitrary files with the permissions of the web server via directory traversal sequences.
3. Input passed via the “lang” parameter to e.g. imanager.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal sequences and URL-encoded NULL bytes.
Successful exploitation of this vulnerability requires that “magic_quotes_gpc” is disabled.
The vulnerabilities are confirmed in version 1.2.8. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised and verified.