CVE-2021-26731 spx_restservice modifyUserb_func Command Injection and Multiple Stack-Based Buffer Overflows

Critical 9.1 Published Updated

An authenticated attacker can execute arbitrary code with root privileges via command injection and buffer overflows in the Lanner IAC-AST2500A firmware.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-26731?

CVE-2021-26731 is a critical command injection vulnerability in Lanner Inc IAC-AST2500A, published on 24 Oct 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-787, CWE-77, CWE-94, CWE-121

Which versions are affected by CVE-2021-26731?

It affects 1 product.

Products include Lannerinc Iac-Ast2500a Firmware.

How do I fix CVE-2021-26731?

No fix has been published for CVE-2021-26731 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2021-26731 being exploited?

There is no known exploitation of CVE-2021-26731 in the wild and no public exploit code.

Sources

Also known as GHSA-9wgq-fhm2-pjf3.

Is CVE-2021-26731 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free