TITLE: SportsPHool "mainnav" File Inclusion Vulnerability
SECUNIA ADVISORY ID: SA21594
VERIFY ADVISORY: http://secunia.com/advisories/21594/
CRITICAL: Highly critical
IMPACT: System access
WHERE: >From remote
SOFTWARE: SportsPHool 1.x http://secunia.com/product/11629/
DESCRIPTION: Kacper has discovered a vulnerability in SportsPHool, which can be exploited by malicious people to compromise a vulnerable system.
Input passed to the "mainnav" parameter in includes/layout/plain.footer.php is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including files from local or external resources.
Successful exploitation requires that "register_globals" is enabled.
The vulnerability has been confirmed in version 1.0. Other versions may also be affected.
SOLUTION: Edit the source code to ensure that input is properly verified.
PROVIDED AND/OR DISCOVERED BY: Kacper
ORIGINAL ADVISORY: http://milw0rm.com/exploits/2227
About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities.
Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/
Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor.