PURPOSE: This phase II trial is studying the side effects and how well topical cidofovir works in treating HIV-infected patients with high-grade squamous intraepithelial lesions of the skin near the anus.