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