The German arm of international law firm CMS was hit by a cyber-attack earlier in August, the firm has confirmed.