Blocksy Companion Pro < 2.1.47 Unauthenticated File Upload via save_attachments
Fix:the vendor lists fixed versions See versions ↓
Creative Themes · Blocksy Companion
The Blocksy Companion Pro WordPress plugin, before version 2.1.47, contains an unauthenticated arbitrary file upload flaw in the save_attachments function exposed through its Advanced Reviews feature, where extension validation is bypassed by the Custom Fonts extension's flawed strpos() substring check. An unauthenticated remote attacker over the network, with no user interaction required, can upload a double-extension file such as shell.woff2.php so that the web server executes it as PHP, achieving remote code execution.
Official description · CVE.org
Blocksy Companion Pro plugin for WordPress before 2.1.47 contains an unauthenticated arbitrary file upload vulnerability that allows attackers to upload executable files by bypassing extension validation in the save_attachments function exposed through the Advanced Reviews feature. Attackers can exploit the Custom Fonts extension's flawed strpos() substring check by uploading double-extension filenames such as shell.woff2.php, causing the validation to pass on the substring match while the web server executes the file as PHP, achieving remote code execution.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 6 days before it was disclosed. Public exploit code (PoC-in-GitHub) appeared 18 days after disclosure.
- First seen exploitedVulnCheck KEV evidence6 days before
- Disclosedday 0
- Public exploit codePoC-in-GitHub+18 days
Affected versions and fixes
as published in the CVE recordCreative Themes Blocksy Companion
Affected: <= 2.1.46
Not affected: 2.1.47