NEW YORK (CBSNEWS.COM) – Macy’s says cyberthieves hacked the accounts of thousands of the retailer’s online customers, compromising people’s full names as well as their credit card numbers and expiration dates.

The attack, which occurred over roughly six weeks between the end of April and the beginning of June before being shut down, affected consumers registered on Macys.com or Bloomingdales.com.

READ MORE: Dallas ISD Inducts Its 4th Sports Hall of Fame Class

Logins and passwords were taken from sites unrelated to the retailers and then used to access data on both sites.

READ MORE: Doug Dunbar Speaks One-On-One With Rabbi Charlie Cytron-Walker

“We have investigated the matter thoroughly, addressed the cause and, as a precaution, have implemented additional security measures,” a Macy’s spokesperson said in a statement.

MORE NEWS: Alaska, Texas Governors Sue Over National Guard Vaccine Rule

♦♦♦ Check Out The Full Story On cbsnews.com ♦♦♦