Skip to main content
XsiSec.com
HomeReposBlogProjectsPortfolio
© 2026 XsiSec.com
Security rules |security.txt
Updated 2026-08-15 · v1.0.0+2026-08-14.82f92cb · 82f92cb
← Back to overview
Security article

Insecure Direct Object References

Insecure Direct Object References: Identify and exploit an Insecure Direct Object Reference (IDOR) that exposes other users’ chat logs. • PortSwigger • IDOR • idor, broken-access-control

2023-08-282 tags
Tags

🎯 Objective

Identify and exploit an Insecure Direct Object Reference (IDOR) that exposes other users’ chat logs.

🧭 Scope / Setup

  • Tooling: Burp Suite (Scope, Proxy, Repeater, Target sitemap)
  • Target Feature: Live Chat + Download chat logs
  • Authentication: In-scope user session

🔎 Discovery

  1. Add the site to Target → Scope and crawl manually.
  2. Observe Live Chat functionality and Download chat logs endpoint.
  3. Intercept the chat log download request and send to Repeater.
  4. Manipulate the log identifier in the URL (e.g., /chat/logs/1 → /chat/logs/2, /3, …).

Screenshots

  • Crawling the app:
    Crawling in Burp
  • Enumerating chat logs via parameter tampering:
    Chat Log Enumeration

🧪 Exploitation

  • Increment/decrement the chat log ID to access other users’ logs.
  • Impact observed: plaintext passwords posted by the agent to users who forgot them.

✅ Outcome

  • Confirmed Broken Access Control / IDOR: direct object identifiers not protected by authorization checks.

🛡️ Mitigations

  • Enforce object-level authorization on every sensitive endpoint.
  • Use opaque, unguessable identifiers (e.g., UUID v4) in addition to authorization.
  • Avoid placing secrets in chat transcripts; implement redaction & data minimization.

📝 Notes

  • Consider adding rate limiting and anomaly detection for sequential access attempts.
Navigate

In this post

  1. 01🎯 Objective
  2. 02🧭 Scope / Setup
  3. 03🔎 Discovery
  4. 04🧪 Exploitation
  5. 05✅ Outcome
  6. 06🛡️ Mitigations
  7. 07📝 Notes
Search
Explore

Popular tags

Browse all 30 tags

Comments

0 comments

No comments yet — be the first to comment.