{"id":"CVE-2019-25217","published":"2024-10-16T06:43:33Z","modified":"2026-04-08T16:57:49Z","title":"SiteGround Optimizer <= 5.0.12 - Missing Authorization","vendor":"siteground","product":"Speed Optimizer – The All-In-One Performance-Boosting Plugin","tier":"core","eol":null,"affectedVersions":[{"vendor":"siteground","product":"Speed Optimizer – The All-In-One Performance-Boosting Plugin","versions":["< 5.0.13"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"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.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-07T13:30:17Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0085,"percentile":0.58364,"date":"2026-11-06","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2024-10-15","exploitedFirstSeen":"2024-10-15","ransomware":false,"evidence":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/sg-cachepress/siteground-optimizer-5012-missing-authorization","date":"2024-10-15"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/657f3bd7-2cdc-4eb6-ba50-7c7fca468df0?source=cve","tags":[]},{"url":"https://blog.sucuri.net/2019/03/vulnerability-disclosure-siteground-optimizer-caldera-forms.html","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2019-19365","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-19365","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2024-10-15","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/sg-cachepress/siteground-optimizer-5012-missing-authorization","provenance":"source"},{"date":"2024-10-16","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2019-25217","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":53.5,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 753 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":11.67,"detail":"percentile 0.5836"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}