Quadrupole topological phases in the zero-dimensional optical cavity