Exact solutions for a nonlinear model of dissipative media