See the 'stickied' thread 
    Water Damage base repair - Generic BnB cabinet  
in this forum (look near the top of the current message list).  It show and example of removing bad wood, replacing it, and then using bondo to cover the work.  From there you can prime and paint.