zeke
February 19, 2007, 12:00am
#1
Dear CS-Cart users,
our company has just released a security patch which eliminates issues with arbitrary orders list viewing.
Although there is no way to view the detailed order information, it is strongly recommended to apply it to all your existing CS-Cart installations to avoid unauthorized viewing of your customers orders list.
Please download an appropriate version patch file from your File area and use it to overwrite /include/customer/orders.php script at all your CS-Cart stores.
Another way to update your store is to edit /include/customer/orders.php script manually .
Find the following text there:
} elseif (!empty($auth['order_ids'])) {
$query = "$db_tables[orders].order_id IN (".implode(',', $auth['order_ids']).")";
}
and replace it with this one:
} elseif (!empty($auth['order_ids'])) {
$query = "$db_tables[orders].order_id IN (".implode(',', $auth['order_ids']).")";
} else {
fn_set_exception('access_denied');
}
Feel free to contact our support team if you experience any problems or have any questions related to this issue.
recedo
February 19, 2007, 12:00am
#3
Am I right in thinking this is only a problem with 1.3.4? I’m running 1.3.3, am I safe?
Thanks
Simon
zeke
February 19, 2007, 12:00am
#4
[quote name=‘recedo’]Am I right in thinking this is only a problem with 1.3.4? I’m running 1.3.3, am I safe?
[/QUOTE]
CS-Cart 1.3.3 also needs to be patched (patch if available in Customers Help Desk File Area, manual patching is the same as for 1.3.4).
mikek
February 19, 2007, 12:00am
#6
Thank you for your prompt attention to this problem.
Very much appreciated.
MikeK
ryan
February 19, 2007, 12:00am
#7
Does this affect older versions as well (still using 1.3.0)
fenwick
February 20, 2007, 12:00am
#8
Thanks for the update however my orders.php file does not contain that text!
I recently had the cs-cart folks upgrade me from v1.2 to 1.3.4sp2 (supposedly)
I just opened a ticket with the help desk and got a reply of “looks like you’re running v1.3.3”
Hmmmmm…you upgraded me to 1.3.4sp2 but it looks like I’m running 1.3.3???
Anyone have anything similar?
Thanks,
Eric
fenwick
February 23, 2007, 12:00am
#9
Well,
I’m a complete idiot.
Just found out I was looking at a back up of “…/orders.php”
Dohhhhh!
Eric