SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   PHP Surveyor Vendors:   phpsurveyor.sourceforge.net
PHP Surveyor Input Validation Holes Permit SQL Injection and Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1014538
SecurityTracker URL:  http://securitytracker.com/id/1014538
CVE Reference:   CVE-2005-2398, CVE-2005-2399   (Links to External Site)
Updated:  Jul 6 2008
Original Entry Date:  Jul 21 2005
Impact:   Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information, User access via network

Version(s): 0.98 stable
Description:   Several vulnerabilities were reported in PHP Surveyor. A remote user can inject SQL commands on conduct cross-site scripting attacks. A remote user can also determine the installation path.

Several scripts not properly validate user-supplied input. A remote user can supply specially crafted parameter values to execute SQL commands on the underlying database.

The browse.php, dataentry.php, export.php, database.php, admin.php, labels.php, dumplabel.php, conditions.php , spss.php, deletesurvey.php, dumpsurvey.php, and statistics.php scripts are affected.

The browse.php, dataentry.php, and export.php scripts do not properly filter HTML code from user-supplied input. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the PHP Surveyor software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A remote user can also invoke the html.php, sessioncontrol.php, dumpquestion.php, question.php, survey.php, and group.php scripts to cause the system to disclose the installation path.

tgo thegreatone2176@yahoo.com reported this vulnerability.

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the PHP Surveyor software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A remote user can execute SQL commands on the underlying database.

A remote user can determine the installation path.

Solution:   No solution was available at the time of this entry.
Vendor URL:  phpsurveyor.sourceforge.net/ (Links to External Site)
Cause:   Access control error, Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  Multiple Vulnerabilities in PHP Surveyor


-----------------------------------------------------------
Multiple Vulnerabilities in PHP Surveyor version 0.98 stable 
------------------------------------------------------------

Summary:

PHP Surveyor is vulnerable to many sql injections, cross site scriptings, and path disclosures.

Details:

root directory
--------------

question.php, survey.php, group.php - all give path disclosure

admin directory
--------------

browse.php - sid, start, and id parametereters all vulnerable to injection and xss, no 

parametereter gives sql error.

dataentry.php - sid sql injection and xss

export.php - sid sql injection and xss, no parametereter gives sql error.

database.php - straight to page gives path disclosure.

dumpquestion.php - qid=' gives multiple path disclosures.

admin.php - sid parameter sql injection

labels.php - lid parameter sql injection and path disclosure

dumplabel.php - lid parameter sql injection and path disclosure

sessioncontrol.php - straight to page gives path disclosure

html.php - straight to page gives path disclosure

conditions.php - no parameter sql error, sql injection on sid parameter

spss.php - no parameter sql error, sql inject on sid parameter

deletesurvey.php - sql inject with sid when ok=Y

dumpsurvey.php - sid sql injection

statistics.php - sid sql injection

-------------------------------


Solution:

Cleanse all user input before processing to stop injections, check to make sure parameters are 
present before processing to stop sql errors and path disclosure.

Credit:

tgo thegreatone2176@yahoo.com

Greets:

smooth_operator and zith

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC