The perturbation theory of the WZNW model in two dimensions is investigated. We obtain closed expressions for the generating functional of the chiral currents and of the energy-momentum tensor, valid to all orders in 1/k where k is the integer parameter of the model. It is demonstrated how the relations of the Kač-Moody and Virasoro algebras emerge within the perturbative approach.