CVE-2019-25217
SiteGround Optimizer <= 5.0.12 - Missing Authorization
criticalMissing Authorization
9.8
CVSS Score
9.8
CVSS Score
critical
Severity
5.0.13
Patched in
2043d
Time to patch
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.
CVSS Vector Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAttack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
High
Confidentiality
High
Integrity
High
Availability
Technical Details
Affected versions
<5.0.13PublishedMarch 14, 2019
Last updatedOctober 16, 2024
Affected pluginsg-cachepress
Check if your site is affected.
Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.