SiteGround Optimizer <= 5.0.12 - Missing Authorization
siteground · Speed Optimizer – The All-In-One Performance-Boosting Plugin
The SiteGround Optimizer plugin (product "Speed Optimizer – The All-In-One Performance-Boosting Plugin") for WordPress contains a missing authorization flaw in its switch_php function, reachable through the /switch-php REST API route, caused by an incorrect access control attribute. An unauthenticated remote attacker with network access can exploit it without credentials or user interaction to include and execute arbitrary files on the server, enabling PHP code execution, data exposure, and access control bypass, including where images or other "safe" file types can be uploaded and included.
The SiteGround Optimizer plugin for WordPress is vulnerable to authorization bypass leading to Remote Code Execution and Local File Inclusion in versions up to, and including, 5.0.12 due to incorrect use of an access control attribute on the switch_php function called via the /switch-php REST API route. This allows attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.
- 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 1 day before it was disclosed.
- First seen exploitedVulnCheck KEV evidence1 day before
- Disclosedday 0
MITRE ATT&CKA public catalogue of the techniques attackers use, maintained by MITRE. Patchfirst uses it to describe what attackers do with a vulnerability. techniques
No techniques linkedNo ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.