CVEvulnerability

CVE-2019-25217

9.8 CRITICAL Published 2024-10-16 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-10-16
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-862

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 configurations

• siteground speed optimizer (< 5.0.12)

Related

Weakness · CWE (1)

  • CWE-862 Missing Authorization weakness

References