Janek Vind "waraxe" has reported two vulnerabilities in the Sgallery module for PHP-Nuke, which can be exploited by malicious people to compromise a vulnerable system and conduct SQL injection attacks.
1) Input passed to the "DOCUMENT_ROOT" parameter in "imageview.php" isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from external and local resources.
2) Input passed to the "idalbum" and "idimage" parameters in "imageview.php" isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The vulnerability has been reported in version 1.01. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised.
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: PHP-Nuke Sgallery Module File Inclusion and SQL Injection
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.