Remote code execution via unchecked Base64 decoding
Published Sep 15, 2022 · Updated Sep 16, 2024
Stack overflow in five EZVIZ camera models allows remote authenticated users to execute code via a crafted motion-area command. The camera decodes the Base64 payload forwarded through MQTT by /api/device/configMotionDetectArea into a fixed-size stack buffer without checking the decoded length. Any authenticated cloud client can target a compatible device serial number, and successful exploitation grants code execution on the camera.
Summary
What happened
Stack overflow in five EZVIZ camera models allows remote authenticated users to execute code via a crafted motion-area command. The camera decodes the Base64 payload forwarded through MQTT by /api/device/configMotionDetectArea into a fixed-size stack buffer without checking the decoded length. Any authenticated cloud client can target a compatible device serial number, and successful exploitation grants code execution on the camera.
The record
- CVE
- CVE-2022-2471
- Published
- Sep 15, 2022
- Updated
- Sep 16, 2024
- Vendor
- Hangzhou EZVIZ Network Co., Ltd.
- Product
- CS-C6N-A0-1C2WFR
- Classifications
- CWE-121, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 15, 2022CVE publishedPublication date reported by the CVE source.
- Sep 16, 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=unspecified <5.3.0 build 220428
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
No public exploit references are available in this record.
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