CVE-2019-25217
Description
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.
Affected WordPress components
-
Speed Optimizer – The All-In-One Performance-Boosting Plugin Plugin · sg-cachepressBefore 5.0.13View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- siteground Speed Optimizer – The All-In-One Performance-Boosting Plugin — Before 5.0.13
- siteground speed_optimizer — Before 5.0.13
- siteground speed_optimizer — Before 5.0.12
References
- blog.sucuri.net https://blog.sucuri.net/2019/03/vulnerability-disclosure-siteground-optimizer-caldera-forms.html Press/Media Coverage, Technical Description
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/657f3bd7-2cdc-4eb6-ba50-7c7fca468df0?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record