-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Summary
Services server crashes when user.loadout.primaryId is undefined during account data processing.
Affected Code
server-services/src/data_management/accountManagement.js:99
user.loadout = JSON.parse(user.loadout);
for (var i = 0; i < user.loadout.primaryId.length; i++) {
// CRASH if user.loadout.primaryId is undefinedVulnerability
If database contains corrupted loadout JSON or schema mismatch.
Impact
- Services server crash on user data fetch
- Denial of service for authentication
Proof of Concept
Corrupt user loadout in DB to missing primaryId field.
Recommended Fix
for (var i = 0; i < (user.loadout?.primaryId?.length || 0); i++) {References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels