[Vendor Has Issued a Fix] @1 File Store Input Validation Flaws Permit Cross-Site Scripting and SQL Injection Attacks
|
|
SecurityTracker Alert ID: 1015826 |
|
SecurityTracker URL: http://securitytracker.com/id/1015826
|
|
CVE Reference:
CVE-2006-1278
(Links to External Site)
|
Updated: Dec 4 2006
|
Original Entry Date: Mar 24 2006
|
Impact:
Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes Exploit Included: Yes
|
Version(s): 2006.03.07
|
Description:
A vulnerability was reported in @1 File Store. A remote user can conduct cross-site scripting attacks. A remote user can inject SQL commands.
The 'signup.php' script does not properly filter HTML code from user-supplied input before displaying the 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 @1 File Store 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.
The 'real_name', 'email', and 'login' parameters are affected.
The software does not properly validate user-supplied input in the 'id' parameter. If magic_quotes_gpc is disabled, a remote user can supply a specially crafted parameter value to execute SQL commands on the underlying database.
The following scripts are affected:
libs/functions.php
libs/user.php
control/files/edit.php
control/files/delete.php
control/users/edit.php
control/users/delete.php
control/folders/edit.php
control/folders/access.php
control/folders/delete.php
control/groups/edit.php
control/groups/delete.php
confirm.php
download.php
password.php
The 'email' parameter in 'password.php' is also affected.
Aliaksandr Hartsuyeu discovered this vulnerability.
The original advisory is available at:
http://evuln.com/vulns/95/summary.html
A demonstration exploit is available at:
http://evuln.com/vulns/95/exploit.html
|
Impact:
A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the @1 File Store 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.
|
Solution:
The vendor issued a fixed version (2.0) in June 2006, available at:
http://www.upoint.info/cgi/demo/fs/
|
Vendor URL: www.upoint.info/cgi/demo/fs/index.shtml (Links to External Site)
|
Cause:
Input validation error
|
Underlying OS:
Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
None.
|
Source Message Contents
|
Date: 24 Mar 2006 07:49:54 -0000
Subject: [eVuln] @1 File Store Multiple XSS and SQL Injection Vulnerabilities
|
New eVuln Advisory:
@1 File Store Multiple XSS and SQL Injection Vulnerabilities
http://evuln.com/vulns/95/summary.html
--------------------Summary----------------
eVuln ID: EV0095
Software: @1 File Store
Sowtware's Web Site: http://www.upoint.info/cgi/download/
Versions: 2006.03.07
Critical Level: Moderate
Type: Multiple Vulnerabilities
Class: Remote
Status: Unpatched. Developer(s) contacted.
PoC/Exploit: Available
Solution: Not Available
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)
-----------------Description---------------
1. Multiple XSS Vulnerabilities
Vulnerable script: signup.php
Parameters 'real_name', 'email', 'login' are not properly sanitized. This can be used to post arbitrary HTML or JavaScript code.
2. Multiple SQL Injection Vulnerabilities
'id' parameter is not properly sanitized before being used in SQL queries. This can be used to make any SQL query by injecting arbitrary
SQL code.
'email' parameter in password.php is also not properly sanitized before being used in SQL query and allows to make any SQL query.
Condition: magic_quotes_gpc = off
Vulnerable scripts:
libs/functions.php
libs/user.php
control/files/edit.php
control/files/delete.php
control/users/edit.php
control/users/delete.php
control/folders/edit.php
control/folders/access.php
control/folders/delete.php
control/groups/edit.php
control/groups/delete.php
confirm.php
download.php
password.php
--------------PoC/Exploit----------------------
Available at: http://evuln.com/vulns/95/exploit.html
--------------Solution---------------------
No Patch available.
--------------Credit-----------------------
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)
Regards,
Aliaksandr Hartsuyeu
http://evuln.com - Penetration Testing Services
.
|
|