Unauthenticated code execution via file manager upload
Published Sep 16, 2025 · Updated Sep 16, 2025
Unrestricted file upload in osCommerce 2.2 RC2a and earlier allows remote attackers to execute PHP code through the administrative file manager. The admin request gate derives the current page with basename() from attacker-controlled PHP_SELF, so an appended /login.php bypasses authentication and lets file_manager.php save a .php file beneath the web root. No account is required; uploaded code runs with the web server process's permissions, allowing compromise of the store and accessible host data.
Summary
What happened
Unrestricted file upload in osCommerce 2.2 RC2a and earlier allows remote attackers to execute PHP code through the administrative file manager. The admin request gate derives the current page with basename() from attacker-controlled PHP_SELF, so an appended /login.php bypasses authentication and lets file_manager.php save a .php file beneath the web root. No account is required; uploaded code runs with the web server process's permissions, allowing compromise of the store and accessible host data.
The record
- CVE
- CVE-2009-20006
- Published
- Sep 16, 2025
- Updated
- Sep 16, 2025
- Vendor
- osCommerce
- Product
- osCommerce
- Classifications
- CWE-434, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 16, 2025CVE publishedPublication date reported by the CVE source.
- Sep 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=* <=2.2 RC2a
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
- Metasploit osCommerce 2.2 Arbitrary PHP Code Execution modulefunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Reported osCommerce store compromise through admin path spoofingreported exploitation
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