The accused, identified as Golu, has been arrested for allegedly committing the rape while his friend, Nitin, has been held for helping in the crime.
According to police, the victim was waiting outside Ghaziabad railway station to take an auto home when Golu reached there.
"The victim boarded his autorickshaw. Thereafter, Golu's friend Nitin also got on the auto. The woman told police that Golu took her to Nitin's house and raped her there while his friend waited outside," said a senior police officer.
The victim said she was raped by the driver while his friend waited outside
The duo also allegedly threatened the woman with dire consequences if she spoke of her ordeal to anyone, police said, adding that it was the victim who had registered the case against the duo.
Uttar Pradesh has been in the headlines because of a series of rapes over the last few weeks. In May, two teenage Dalit sisters were gangraped and hanged from a mango tree in Badaun district. The Akhilesh Singh Yadav government has faced severe criticism from various quarters for failing to curb the increasing crime against women and also for making counter-attacking remarks.