Bank’s weakness helped criminals to hack into its system