VYPR
Unrated severityNVD Advisory· Published Oct 24, 2022· Updated May 7, 2025

spx_restservice modifyUserb_func Command Injection and Multiple Stack-Based Buffer Overflows

CVE-2021-26731

Description

Command injection and multiple stack-based buffer overflows vulnerabilities in the modifyUserb_func function of spx_restservice allow an authenticated attacker to execute arbitrary code with the same privileges as the server user (root). This issue affects: Lanner Inc IAC-AST2500A standard firmware version 1.10.0.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Authenticated command injection and stack-based buffer overflows in Lanner IAC-AST2500A BMC firmware spx_restservice allow root-level remote code execution.

Vulnerability

A command injection and multiple stack-based buffer overflows exist in the modifyUserb_func function of spx_restservice in Lanner IAC-AST2500A BMC firmware version 1.10.0. The vulnerable code path is reachable when an authenticated user sends a crafted request to the BMC's REST API, specifically to endpoints that invoke modifyUserb_func. The issues reside in how user-supplied input is handled without proper validation or bounds checking, leading to both command injection and buffer overflow conditions [1][2].

Exploitation

An authenticated remote attacker with administrative privileges on the BMC can craft a malicious HTTP request targeting the vulnerable modifyUserb_func function. By supplying an overly long or specially crafted input parameter, the attacker can overflow a stack buffer or inject arbitrary commands into a system call. The attacker does not require any user interaction; the attack is performed directly over the network [1][2].

Impact

Successful exploitation allows the attacker to execute arbitrary code with root privileges on the BMC. Since the BMC has high privileges over the managed host, the attacker can potentially abuse this to compromise the managed host as well, achieving a full system compromise with severe confidentiality, integrity, and availability impacts [1][2].

Mitigation

Lanner has released updated BMC firmware versions that fix the issue; users should contact Lanner technical support to obtain the patched firmware. Asset owners are advised to restrict network access to the BMC management interface to trusted hosts and apply the vendor-supplied update as soon as possible [1][2].

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.