Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Highly critical

PHP-Nuke Sgallery Module File Inclusion and SQL Injection

-

Release Date:  2005-01-13    Last Update:  2005-02-15    Views:  9,259

Secunia Advisory SA13824

Where:

From remote

Impact:

Manipulation of data, System access

Solution Status:

Unpatched

CVE Reference(s):

Description


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.

Provided and/or discovered by:
Janek Vind "waraxe"

Original Advisory:
http://www.waraxe.us/advisory-39.html

Deep Links:
Links available to Secunia VIM customers

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 vuln@secunia.com

Subject: PHP-Nuke Sgallery Module File Inclusion and SQL Injection

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability