Saving help for little rubber bumpers?

What does one do to reattach the little rubber bumpers (hood, doors, windows, trunk) that have lost the little connecting base part? Is there a rubber glue of some kind that can come to the rescue?