Reconnaissance and Enumeration
A tester with read access to a client's web server logs sees requests such as GET /account?sid=9f2c41e8b7. What is the BEST next step?
Show the answer
Correct answerA. Replay the sid values to find active sessions
AWhy this is right: Tokens in URLs get logged, and a valid unexpired session ID can be replayed to take over that session.
BWhy not this: STS validates cloud credentials; a web app's sid is meaningless to it.
CWhy not this: Session IDs are not user passwords, so spraying them at a login form would not authenticate anyone.
DWhy not this: The sid is an identifier issued by the server, not a hash, so there is nothing to crack offline.
Session IDs placed in URLs are written to logs, so the logs expose live session tokens. Replaying them in requests shows which sessions are still active and usable. They are random identifiers, not hashes to crack or passwords to spray.