Skip to content
Info disclosure Disclosed report Intermediate

Disclosure of users' ip address whenever they view my fright offer on image preview (Without interaction)

The image upload feature allowed an attacker to replace the uploaded image URL with an external link, which was then loaded automatically when other users viewed the freight post, leaking their IP address and User-Agent without interaction.

bugsv2 Follow

Originally disclosed on HackerOne

  • Triaged in 7 hours
  • Fixed in 6 months
  • Paid in 19 days
  • Disclosed after 15 months

Summary by the program

The report

Summary:

Hi kirill, wish you are fine today <3 I found a bug here leads to gimme the IP/User-Agent of the user without his interaction, Just by viewing my post in the interaction section. I have changed my post image url. Let me show how ..

Steps to reproduce:

  1. Click on the 3 bars on top and click “Driver Mode”, Then click on the 3 bars again and go inside “Freight” section. Now you are inside the “Freight” as “Passenger”.

  2. Now go to “Create Request” and fill all the informations, but let’s focus on the upload functionality here

    ██████

  3. Now we see a request of /api/image/upload !! the function here is uploading the photos first, then use the link for the uploaded image as parameter in the final post request.

  4. Now we gonna ( turn on interception ), and click “Order Freight”. the request of /api/order/create we gonna see the images' urls, edit them with burp collaborator or webhook.site

    ███

    ██████

  5. Now click “Order Freight”, Here we go!

  6. Now we switch from the 3 bars on top to “Driver mode”, Then open the “Freight” section again!

  7. Now we see our post there!

    ██████████

  8. and everyone would see my post or get inside my post or submit an offer for me, the collaborator would get executed on the user. The link is gonna get opened in the background. So now i have his IP address !!

    ███████

Impact

  • Users’ IPs would get leaked.
  • This can lean to suspicious activities.
  • Attacker can detect users’ current location from IP, from sites like: https://whatismyipaddress.com/ip-lookup
  • Attack can download files on the android device of the user. With submitting a link for 1 click download, It’s gonna get opened in the background from the user’s side and the file gonna get downloaded. So attacker can use malicious files later.
  • Attack can make money from that by submitting earning urls to the users, He’s getting money from the users! this is threating InDriver reputation.
  • Attacker can execute php codes from files on the user’s side.

The original report as published on HackerOne, by bugsv2. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application accepted a user-supplied URL for the post image instead of validating that it pointed to the uploaded file on its own storage, allowing external resources to be embedded.

Impact

Attackers could learn the IP address and User-Agent of any user who viewed their post, potentially leading to location disclosure and other malicious activities.

What the attacker needed

A free account; victim views the post

How it was found

  1. Switch to Driver Mode and open the Freight section as a passenger.
  2. Create a request and upload an image, noting the upload API call.
  3. Intercept the order creation request and replace the image URL with an external link.
  4. Submit the order to create the post.
  5. Switch back to Driver Mode and open the Freight section to view the post.
  6. When any user views or interacts with the post, their browser loads the external link, sending their IP address to the attacker.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you upload a photo in an app, the app usually stores it on its own server and shows it from there. Here, the app trusted a link supplied by the user instead of the uploaded file, so an attacker could point that link to a server they control. Anyone who simply looked at the post made their browser fetch the attacker's link, revealing their IP address (a number that identifies their internet connection) and browser details.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by bugsv2

View all

4 more disclosed reports, best first.

More from inDrive

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.