Authenticated command execution via unchecked configuration restore
Published Nov 29, 2022 · Updated Oct 21, 2025
Code integrity failure in D-Link DNR-322L firmware 2.60B15 and earlier allows remote authenticated users to execute OS commands. The Backup Config restore path accepts a modified archive without verifying its integrity, allowing its embedded rc.init.sh startup script to be replaced and run when the recorder boots. Valid device credentials and a reboot are required; successful exploitation grants command execution on the network video recorder.
Summary
What happened
Code integrity failure in D-Link DNR-322L firmware 2.60B15 and earlier allows remote authenticated users to execute OS commands. The Backup Config restore path accepts a modified archive without verifying its integrity, allowing its embedded rc.init.sh startup script to be replaced and run when the recorder boots. Valid device credentials and a reboot are required; successful exploitation grants command execution on the network video recorder.
The record
- CVE
- CVE-2022-40799
- Published
- Nov 29, 2022
- Updated
- Oct 21, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-494, T1037.004, T1059.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 29, 2022CVE publishedPublication date reported by the CVE source.
- Oct 21, 2025Record 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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
- CVE-2022-40799 exploit.pyfunctional · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities Catalog entryknown exploited catalog
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