Skip to main content
Vulnerability Database/CVE-2025-34256

CVE-2025-34256: Advantech WISE-DeviceOn Auth Bypass Flaw

CVE-2025-34256 is an authentication bypass flaw in Advantech WISE-DeviceOn Server caused by hard-coded cryptographic keys. Attackers can forge JWTs to gain full admin control. This article covers technical details, impact, and mitigation.

Published:

CVE-2025-34256 Overview

CVE-2025-34256 is a critical hard-coded cryptographic key vulnerability affecting Advantech WISE-DeviceOn Server versions prior to 5.4. The product uses a static HS512 HMAC secret for signing EIRMMToken JWTs across all installations. The server accepts forged JWTs that need only contain a valid email claim, allowing a remote unauthenticated attacker to generate arbitrary tokens and impersonate any DeviceOn account, including the root super admin. Successful exploitation permits full administrative control of the DeviceOn instance and can be leveraged to execute code on managed agents through DeviceOn's remote management features.

Critical Impact

Remote unauthenticated attackers can forge JWT tokens to impersonate any user account including the root super admin, gaining full administrative control over the DeviceOn instance and enabling remote code execution on managed agents.

Affected Products

  • Advantech WISE-DeviceOn Server versions prior to 5.4

Discovery Timeline

  • 2025-12-05 - CVE-2025-34256 published to NVD
  • 2025-12-17 - Last updated in NVD database

Technical Details for CVE-2025-34256

Vulnerability Analysis

This vulnerability stems from a fundamental cryptographic design flaw in Advantech WISE-DeviceOn Server's authentication mechanism. The server relies on a hard-coded HS512 HMAC secret key that is identical across all installations of the product. This static key is used to sign EIRMMToken JSON Web Tokens (JWTs), which are critical for user authentication and session management.

Because the HMAC secret is embedded in the product rather than being uniquely generated per installation, any attacker who discovers or extracts this key can forge valid authentication tokens. The vulnerability is further exacerbated by the minimal validation requirements—the server only requires a valid email claim within the JWT payload to accept the token as legitimate.

This design flaw enables complete authentication bypass without requiring any prior credentials or interaction with legitimate users. The impact extends beyond simple account compromise; since DeviceOn is a device management platform with remote administration capabilities, successful exploitation grants attackers the ability to execute arbitrary code on all managed edge devices and agents connected to the compromised server.

Root Cause

The root cause of CVE-2025-34256 is CWE-321: Use of Hard-coded Cryptographic Key. The developers embedded a static HS512 HMAC secret key directly into the application code rather than implementing proper key generation and management practices. This approach fundamentally undermines the security model of JWT-based authentication, as the security of HMAC-signed tokens relies entirely on the secrecy of the signing key. When this key is shared across all installations and can be extracted from the software, the entire authentication mechanism becomes compromised.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Obtaining the hard-coded HS512 HMAC secret key from any Advantech WISE-DeviceOn Server installation
  2. Identifying a valid email address associated with a target account (including the root super admin)
  3. Crafting a forged JWT containing the target email in the claims and signing it with the static secret
  4. Submitting the forged EIRMMToken to the server to gain authenticated access
  5. Using the compromised administrative session to execute commands on managed agents through DeviceOn's remote management features

The attack can be conducted remotely against any internet-exposed or network-accessible DeviceOn Server instance. No authentication credentials are required—only knowledge of the static secret key and a valid target email address.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2025-34256

Indicators of Compromise

  • Unusual administrative login activity from unrecognized IP addresses or geographic locations
  • JWT tokens with anomalous issuance timestamps or unexpected claims patterns
  • Authentication events for high-privilege accounts without corresponding legitimate user activity
  • Remote management commands executed on agents without authorized change windows
  • Log entries showing administrative operations immediately following authentication from previously unseen sources

Detection Strategies

  • Monitor authentication logs for EIRMMToken-based logins originating from unexpected network segments or external IP addresses
  • Implement anomaly detection for JWT authentication patterns, particularly focusing on tokens with suspicious timing or claim combinations
  • Deploy network-level monitoring to detect authentication traffic from unauthorized sources targeting the DeviceOn Server API endpoints
  • Correlate administrative actions on managed agents with authorized user sessions to identify discrepancies

Monitoring Recommendations

  • Enable comprehensive logging of all authentication events including JWT token metadata and source IP addresses
  • Implement real-time alerting for super admin account access from new or untrusted sources
  • Monitor network traffic to DeviceOn Server instances for patterns consistent with JWT forgery attempts
  • Track remote management commands executed through DeviceOn and compare against approved change management tickets

How to Mitigate CVE-2025-34256

Immediate Actions Required

  • Upgrade Advantech WISE-DeviceOn Server to version 5.4 or later immediately
  • Audit authentication logs for any evidence of unauthorized access or suspicious JWT-based logins
  • Review all administrative actions taken on managed agents for unauthorized modifications
  • Restrict network access to DeviceOn Server instances to trusted IP ranges until patching is complete
  • Rotate credentials for all user accounts, particularly administrative accounts

Patch Information

Advantech has released version 5.4 of WISE-DeviceOn Server which addresses this vulnerability by implementing proper cryptographic key management. Organizations should update to this version or later as soon as possible. Additional details are available in the Advantech Security Advisory and the VulnCheck Advisory on Advantech WISE Bypass.

Workarounds

  • Place DeviceOn Server behind a VPN or firewall to restrict access to authorized internal networks only
  • Implement network segmentation to limit exposure of the DeviceOn Server management interface
  • Deploy a web application firewall (WAF) to monitor and filter suspicious authentication requests
  • Enable multi-factor authentication if supported to provide an additional layer of security beyond JWT tokens
  • Monitor for and immediately investigate any unauthorized administrative activity on the platform

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.