CVE-2019-25217 SiteGround Optimizer <= 5.0.12 - Missing Authorization
Attackers can bypass authorization to execute arbitrary code and read sensitive data via the switch_php REST API route in SiteGround Optimizer.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-25217?
CVE-2019-25217 is a critical missing authorization vulnerability in siteground Speed Optimizer – The All-In-One Performance-Boosting Plugin, published on 16 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-862
Which versions are affected by CVE-2019-25217?
It affects 1 product.
Products include Siteground Speed Optimizer.
How do I fix CVE-2019-25217?
No fix has been published for CVE-2019-25217 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2019-25217 being exploited?
There is no known exploitation of CVE-2019-25217 in the wild and no public exploit code.
Sources
Also known as GHSA-5xpj-qjq8-m3v5.