CVE-2026-94562 in NukeVietinfo

Summary

by MITRE • 11/20/2026

NukeViet CMS is a multi Content Management System. Prior to 4.6.01, a super-administrator satisfying the NV_IS_SPADMIN gate can use modules/users/admin/fields.php to store an arbitrary existing PHP function in the func_callback setting for a custom profile field because the callback name is checked only with function_exists() and no allowlist restricts which function may be selected. modules/users/fields.check.php later invokes that function through call_user_func() when the field is validated through registration, profile editing, or administrator editing. Selecting a command-execution function crosses the super-administrator to operating-system boundary and executes commands as the web-server account, while ordinary users can trigger the stored callback after it is configured. Because the remediation validates callbacks only when they are written, upgrading does not remove a malicious callback already stored in the database, which must be cleaned manually. This issue is fixed in version 4.6.01.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/20/2026

The vulnerability identified in NukeViet CMS prior to version 4.6.01 represents a critical insecure deserialization and arbitrary code execution flaw rooted in improper validation of user-supplied input within the administrative interface. The core technical defect lies in the handling of custom profile fields, specifically through the modules/users/admin/fields.php endpoint. When a super-administrator with NV_IS_SPADMIN privileges attempts to configure a callback function for a field's func_callback setting, the system performs an insufficient check using only the PHP function_exists() routine. This validation merely confirms that the provided string corresponds to any existing PHP function in the environment but fails to enforce a strict allowlist of permitted functions. Consequently, this lack of restriction allows the administrator to specify dangerous built-in PHP functions capable of executing operating system commands, such as exec(), shell_exec(), or passthru().

The operational impact is severe because it facilitates an arbitrary code execution scenario that crosses privilege boundaries. Once a malicious callback name is stored in the database via the administrative interface, subsequent interactions with user profiles trigger its invocation through call_user_func() during validation processes like registration, profile editing, or administrator updates initiated by ordinary users. This mechanism effectively allows an attacker who has compromised super-administrator credentials to execute arbitrary commands on the underlying server operating system under the context of the web-server account. The ability to escalate from a high-level application role to full operating-system control significantly compromises the integrity and availability of the hosting environment, potentially leading to complete system takeover, data exfiltration, or lateral movement within the network infrastructure.

From a remediation perspective, upgrading NukeViet CMS to version 4.6.01 is necessary but insufficient for systems already affected by this vulnerability. The fix implemented in the newer version validates callbacks only at the time of writing new configurations, which prevents further malicious entries from being saved. However, it does not automatically scrub or neutralize existing malicious callback names that were previously stored in the database during earlier versions. Therefore, administrators must manually inspect and clean the database to remove any pre-existing dangerous function references associated with custom profile fields. This manual cleanup is a critical step to fully mitigate the risk of exploitation by ordinary users who might trigger these dormant callbacks through standard profile interactions.

This vulnerability aligns closely with CWE-94, which describes Improper Control of Generation of Code (Code Injection), specifically where user input influences code execution without proper validation or sanitization. In terms of attack tactics, this flaw maps to MITRE ATT&CK technique T1059 Command and Scripting Interpreter, as it allows for the execution of system commands through a web application interface. Furthermore, the exploitation path involving administrative privileges aligns with privilege escalation vectors where an attacker leverages existing high-level access to perform actions beyond intended scope. Security practitioners should prioritize immediate database auditing alongside software updates to ensure comprehensive protection against this class of injection-based vulnerabilities in content management systems that rely on dynamic function callbacks for field validation logic.

Responsible

GitHub M

Reservation

09/21/2026

Disclosure

11/20/2026

Moderation

accepted

CPE

ready

EPSS

0.01041

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!