Remote code execution via js2py pyimport
Published Jan 14, 2023 · Updated Apr 7, 2025
Code injection in pyLoad before 0.5.0b3.dev31 allows remote attackers to execute arbitrary code through a crafted Click'N'Load request. The /flash/addcrypted2 route passes the unauthenticated jk parameter to js2py.eval_js, whose enabled pyimport statement exposes Python modules to injected JavaScript. Network access to the Web UI or Click'N'Load listener is sufficient, and injected Python runs with the pyLoad service account's privileges.
Summary
What happened
Code injection in pyLoad before 0.5.0b3.dev31 allows remote attackers to execute arbitrary code through a crafted Click'N'Load request. The /flash/addcrypted2 route passes the unauthenticated jk parameter to js2py.eval_js, whose enabled pyimport statement exposes Python modules to injected JavaScript. Network access to the Web UI or Click'N'Load listener is sufficient, and injected Python runs with the pyLoad service account's privileges.
The record
- CVE
- CVE-2023-0297
- Published
- Jan 14, 2023
- Updated
- Apr 7, 2025
- Vendor
- pyLoad
- Product
- pyLoad
- Classifications
- CWE-94, T1059.007
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 14, 2023CVE publishedPublication date reported by the CVE source.
- Apr 7, 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=unspecified <0.5.0b3.dev31
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
- pyLoad js2py Python Executionproof of concept · unverified
- PyLoad 0.5.0 Remote Code Executionproof of concept · unverified
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