Remote code execution via unrestricted Python upload
Published Aug 9, 2022 · Updated Apr 16, 2025
Improper privilege management in Digi ConnectPort X2D devices manufactured before January 2020 allows remote attackers to execute Python code. The web application fails to enforce device access protections and file permissions, allowing uploaded Python files to be stored and later executed. Exploitation requires network reachability but no authentication or user interaction; successful code runs on the embedded gateway.
Summary
What happened
Improper privilege management in Digi ConnectPort X2D devices manufactured before January 2020 allows remote attackers to execute Python code. The web application fails to enforce device access protections and file permissions, allowing uploaded Python files to be stored and later executed. Exploitation requires network reachability but no authentication or user interaction; successful code runs on the embedded gateway.
The record
- CVE
- CVE-2022-2634
- Published
- Aug 9, 2022
- Updated
- Apr 16, 2025
- Vendor
- Digi International
- Product
- Digi ConnectPort X2D
- Classifications
- CWE-250, T1059.006, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 9, 2022CVE publishedPublication date reported by the CVE source.
- Apr 16, 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=All manufactured prior to 01/2020
What conditions does exploitation require?
What is affected?
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