Clorox said a cyberattack it disclosed last month will have a material impact on its fiscal first quarter results.