A cyber attack has impacted all Victorian government schools, leading to the potential compromise of student data.