Session Token Enumeration in RWS WorldServer
Session tokens in RWS WorldServer are low-entropy numerical values that can be enumerated via the SOAP loginWithToken action, allowing an attacker to guess valid tokens and gain unauthorised access to user sessions, including administrative ones.
Published on redteam-pentesting.de
neueresZurück zur Übersichtälteres
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 session tokens are generated as sequential or predictable integers with insufficient randomness, and the login endpoint allows unlimited parallel attempts without rate limiting.
Impact
Attackers can efficiently enumerate session tokens and gain access to multiple user accounts, including administrative accounts, in under three hours; with an administrative account, it seems likely that arbitrary code execution on the server is possible.
What the attacker needed
Network access to the WorldServer SOAP API; No authentication required
The fix
Upgrading to versions above 11.8.0 resolves the vulnerability, according to the vendor.
How it was found
- Capture a loginWithToken SOAP request as a template.
- Use a tool to send many parallel requests, replacing the token with values from 1 to 2^31-1.
- Filter out responses containing InvalidSessionException to hide invalid tokens.
- Identify valid tokens by different HTTP status codes (200 for admin, 500 for regular user).
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.
A session token is like a temporary password that keeps you logged in. Here, these tokens were simple numbers that could be guessed one by one very quickly, so an attacker could try many numbers and find valid ones to log in as other users.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.