Belgian Bailly fisted the ball into his own net from a corner just past the hour to leave the home team anchored on 23 points, five off the relegation play-off spot. Kaiserslautern climbed to 12th place on 31.
With both teams playing cautiously, knowing any mistake might prove costly, chances were few and far between in the first half.
Kaiserslautern's Rodnei cleared a Martin Stranzl shot off the line and minutes later at the other end the Brazilian defender almost scored when his header hit team mate Mathias Abel.
Christian Tiffert then went close with a low drive for the visitors.
Get the best features, fun and footballing frolics straight to your inbox every week.
Thank you for signing up to Four Four Two. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.