Remote code execution via unchecked export filename
Published Mar 31, 2020 · Updated Aug 4, 2024
Arbitrary file write in LifterLMS before 3.37.15 allows remote authenticated users to execute PHP code through a crafted export. export_admin_table passes an attacker-chosen filename to generate_export_file, which checks the default CSV type but not the filename extension before appending exported data under LLMS_TMP_DIR. A registered student can place PHP in a profile name, obtain the AJAX nonce, request a .php export, and browse the generated file to run code on the server.
Summary
What happened
Arbitrary file write in LifterLMS before 3.37.15 allows remote authenticated users to execute PHP code through a crafted export. export_admin_table passes an attacker-chosen filename to generate_export_file, which checks the default CSV type but not the filename extension before appending exported data under LLMS_TMP_DIR. A registered student can place PHP in a profile name, obtain the AJAX nonce, request a .php export, and browse the generated file to run code on the server.
The record
- CVE
- CVE-2020-6008
- Published
- Mar 31, 2020
- Updated
- Aug 4, 2024
- Vendor
- LifterLMS
- Product
- LifterLMS
- Classifications
- CWE-434, T1505.003
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 31, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 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=< 3.37.15
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
- Check Point student export exploit walkthroughfunctional · 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