๐ก๏ธ Modern Web Auditing: IDOR, JWT, and SSRF (2025)
In 2025, auditing targets modern API layers, session authentication tokens, and cloud infrastructure metadata.
๐ก๏ธ Access Control & IDOR
Insecure Direct Object References (IDOR) are audited by modifying user references:
- Identify references: Look for parameters like
/api/v2/invoice?id=20455orX-User-Id: 204. - Swap and Test: Change request headers/bodies to other user IDs and verify if resources leak.
- Analyze encryption: Swap UUIDs or hashes if they are predictable or leaked in other public profiles.
๐ JWT Analysis
We audit JSON Web Tokens for configuration faults:
- Algorithm Confusion: Convert RS256 token headers to HS256 and sign them using the serverโs public key.
- Weak Secret Checking: Brute-force local secret strings off-line using hashcat:
hashcat -m 16500 jwt_token.txt common_secrets.txt
๐ Cloud Metadata Server SSRF
Server-Side Request Forgery is audited by pointing parameters that accept URLs to internal cloud address APIs:
- AWS/OpenStack:
http://169.254.169.254/latest/meta-data/ - GCP:
http://metadata.google.internal/computeMetadata/v1/(requires headerMetadata-Flavor: Google) - Azure:
http://169.254.169.254/metadata/instance?api-version=2021-02-01(requires headerMetadata: true)