SYSTEM code execution via changeable MySQL service binary
Published Dec 22, 2021 · Updated Aug 3, 2024
Privilege escalation in Advantech R-SeeNet 2.4.16 and earlier allows local users to execute code with NT SYSTEM privileges on Windows. The default ACL grants Authenticated Users change access to C:\R-SeeNet\mysql\bin\mysqld.exe, which the MySQL service launches as NT SYSTEM. A low-privileged account must replace that executable and cause the service to restart, granting complete control of the host.
Summary
What happened
Privilege escalation in Advantech R-SeeNet 2.4.16 and earlier allows local users to execute code with NT SYSTEM privileges on Windows. The default ACL grants Authenticated Users change access to C:\R-SeeNet\mysql\bin\mysqld.exe, which the MySQL service launches as NT SYSTEM. A low-privileged account must replace that executable and cause the service to restart, granting complete control of the host.
The record
- CVE
- CVE-2021-21910
- Published
- Dec 22, 2021
- Updated
- Aug 3, 2024
- Vendor
- Advantech
- Product
- R-SeeNet
- Classifications
- CWE-276, CAPEC-1, T1574.010
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 22, 2021CVE 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=Advantech R-SeeNet Advantech R-SeeNet 2.4.15 (30.07.2021)
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
- Cisco Talos mysqld.exe replacement proof of conceptproof of concept · 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