Infection caused by bacteria. Syphilis is a sexually transmitted infection (STI). First, a sores appear on the sexual organs, in the mouth or anus, or between the buttocks. It is followed by a rash on the inside of the hands, feet and on the back. The doctor can cure syphilis with injections of antibiotics.