Authenticated root command execution via unsanitized OPS filename
Published Dec 12, 2023 · Updated Aug 3, 2024
Command injection in affected Huawei NetEngine AR6000 firmware allows remote authenticated users to execute commands as root through OPS. OPS_Cfg_ScriptAssistInstall concatenates the attacker-controlled script filename into a chmod command and passes it to PAT_SystemCall without neutralizing shell metacharacters. Exploitation requires authenticated network access, an uploaded Python file meeting the filename constraints, and invocation of the OPS Script Assistant; the injected command runs with root privileges, although a standalone reverse shell requires additional conditions.
Summary
What happened
Command injection in affected Huawei NetEngine AR6000 firmware allows remote authenticated users to execute commands as root through OPS. OPS_Cfg_ScriptAssistInstall concatenates the attacker-controlled script filename into a chmod command and passes it to PAT_SystemCall without neutralizing shell metacharacters. Exploitation requires authenticated network access, an uploaded Python file meeting the filename constraints, and invocation of the OPS Script Assistant; the injected command runs with root privileges, although a standalone reverse shell requires additional conditions.
The record
- CVE
- CVE-2022-48616
- Published
- Dec 12, 2023
- Updated
- Aug 3, 2024
- Vendor
- MindSpore
- Product
- Huawei NetEngine AR6000 Series Enterprise Routers
- Classifications
- CWE-78, T1059.004
- Attack vector
- adjacent
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 12, 2023CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=AR6000 V300R019C10SPC300
- Affected versionversion=AR6000 V300R019C13SPC200
- Affected versionversion=AR6000 V300R021C00SPC200
- Affected versionversion=AR6000 V300R021C10SPC100
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Huawei NetEngine AR617VW Authenticated Root RaCEfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo