Though they infect different parts of the body, cold sores (oral herpes) and genital herpes are caused by the same virus. There are two strains of the herpes virus—cold sores are more frequently caused by HSV-1, while genital herpes is more commonly associated with HSV-2. Both strains of the virus can be effectively treated using the same medication.