Target Briefing: NodeMatrix Dashboard Configurator
The NodeMatrix settings manager allows users to customize their dashboard widgets by pasting JSON preferences.
The client-side JavaScript merges this JSON into the active session configuration using an unvalidated recursive merge routine:
function deepMerge(target, source) {
for (let key in source) {
if (typeof source[key] === 'object') {
deepMerge(target[key], source[key]);
} else {
target[key] = source[key];
}
}
}
The authorization check on the page inspects userConfig.isAdmin. By polluting the global Object.prototype, every object in the JavaScript runtime inherits administrative access!
Your Objective:
- Craft a JSON payload with
__proto__ that injects isAdmin: true into the base prototype.
- Unlock the restricted Executive Terminal to capture the flag.
- Structure your JSON payload:
{"__proto__": {"isAdmin": true}}.
- After merging, verify in console:
({}).isAdmin === true.