SOC169 — Possible IDOR Attack Detected
An external IP made repeated POST requests to a user-info endpoint with a user_id parameter, which the analyst classified as a true-positive IDOR attack. The text does not show that any unauthorised data was actually returned, only that the requests were allowed and that a public article describes the same endpoint as vulnerable.
medium.com
Published on medium.com
EventID : 119 Event Time : Feb, 28, 2022, 10:48 PM Rule : SOC169 — Possible IDOR Attack Detected Level : Security Analyst Hostname : WebServer1005 Destination IP Address : 172.16.17.15 Source IP Address : 134.209.118.137 HTTP Request Method : POST Requested URL : hxxps://172(.)16.17.15/getuserinfo/ User-Agent …
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the user-info endpoint accepted a user_id parameter without checking that the requester was authorised to view that user's data.
Impact
The text claims the attack was successful, but it does not show what data was exposed; the device action was 'Allowed', so no defence blocked the requests.
What the attacker needed
Network access to the web server; no authentication shown in the logs
The fix
The endpoint should enforce authorisation checks so a user can only retrieve their own record, and should use indirect references such as UUIDs instead of sequential IDs.
How it was found
- The monitoring rule fired on consecutive requests to the same page.
- The analyst checked log management and saw five allowed connections to the user-info endpoint.
- The analyst could not identify the user in the endpoint security tab.
- The analyst looked up the source IP on AbuseIPDB and VirusTotal.
- The analyst searched online and found an article describing the same endpoint as vulnerable to IDOR.
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 write-up has not been written yet. The Original tab links to the source.
An IDOR happens when a website lets you change an identifier in a request (like a user number) and shows you someone else's information without checking that you are allowed to see it. Here, a security monitoring tool noticed one outside computer asking for user information over and over, which can be a sign someone is trying different numbers to find data that is not theirs.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.