CyberRota Analysis
AI-GeneratedMagicMirror² versions prior to 2.37.0 are vulnerable due to improper handling of secret placeholders, allowing an attacker to exploit the socket dispatcher to retrieve sensitive API tokens and credentials. The flaw enables a connected client to manipulate the server's response, effectively leaking environment variables that should remain confidential. Organizations using MagicMirror², particularly those with sensitive configurations, should prioritize upgrading to version 2.37.0 to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
MagicMirror² is an open source modular smart mirror platform. Prior to 2.37.0, when hideConfigSecrets is enabled, the catch-all socket dispatcher in js/node_helper.js passes every inbound object payload through replaceSecretPlaceholder in js/server_functions.js before invoking socketNotificationReceived. A client connected to a loaded module namespace can submit a SECRET_API_KEY placeholder, causing the server to replace it with the corresponding process environment value. The default weather helper accepts INIT_WEATHER, copies the attacker-controlled instanceId, and returns it in WEATHER_ERROR, providing an echo path for the expanded secret. This reverses the intended one-way redaction boundary and can disclose API tokens, credentials, or service keys stored in SECRET_ variables. This issue is fixed in version 2.37.0.