Remote code execution via unchecked digital-product upload
Published Sep 13, 2021 · Updated Aug 3, 2024
Arbitrary file upload in Niaz Showket Simple Ecommerce Shopping Cart Plugin 2.2.5 and earlier allows attackers to execute PHP remotely. The product editor accepts a Downloadable Digital product file without checking its type and stores it under wp-content/uploads/simpleecommcart/digitalproduct. An administrator can upload the file directly; otherwise, exploitation requires a logged-in administrator to submit a forged request, after which the uploaded PHP runs on the WordPress server.
Summary
What happened
Arbitrary file upload in Niaz Showket Simple Ecommerce Shopping Cart Plugin 2.2.5 and earlier allows attackers to execute PHP remotely. The product editor accepts a Downloadable Digital product file without checking its type and stores it under wp-content/uploads/simpleecommcart/digitalproduct. An administrator can upload the file directly; otherwise, exploitation requires a logged-in administrator to submit a forged request, after which the uploaded PHP runs on the WordPress server.
The record
- CVE
- CVE-2021-24620
- Published
- Sep 13, 2021
- Updated
- Aug 3, 2024
- Vendor
- Niaz Showket
- Product
- Simple Ecommerce Shopping Cart Plugin- Sell products through Paypal
- Classifications
- CWE-434, CWE-352, T1204.001
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 13, 2021CVE publishedPublication date reported by the CVE source.
- Aug 3, 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=2.2.5 <=2.2.5
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
- WPScan CSRF arbitrary-file-upload proof of conceptfunctional · validated
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