{"id":"GHSA-q37h-jhf3-85cj","aliases":[],"url":"https://o3.security/vulnerability/GHSA-q37h-jhf3-85cj","summary":"Bypass of CMS Safe Mode Security Feature","details":"### Impact\n\nAuthenticated users with permissions to create or modify theme template objects through the backend \"CMS\" editor can exploit this vulnerability to bypass the `cms.enableSafeMode` security feature if enabled (disables modification of PHP code through the web interface when enabled).\n\nThis is only an issue for Winter CMS instances that rely on the Safe Mode security feature to prevent privileged users from modifying the PHP code of CMS theme template objects through the web interface.\n\nCVSS v3.1 Vector: [AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C](https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C&version=3.1)\n\n### Patches\n\nIssue has been fixed in v1.0.475, v1.1.9, & v1.2. \n\n### Workarounds\n\nApply https://github.com/wintercms/storm/commit/03eb5ce3f2a271670574802b914f7bcaf07663c1 manually if unable to upgrade to v1.0.475, v1.1.9, or v1.2.0.\n\n### References\n\nSee https://github.com/octobercms/october/security/advisories/GHSA-79jw-2f46-wv22/.\n\nCredit to [David Miller](https://github.com/cydave) for reporting the issue.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [hello@wintercms.com](mailto:hello@wintercms.com)\n","published":"2022-07-15T21:37:28Z","modified":"2024-12-08T05:33:00.377046Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"wintercms/winter","fixedVersion":"1.0.475"},{"ecosystem":"Packagist","name":"wintercms/winter","fixedVersion":"1.1.9"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/wintercms/winter/security/advisories/GHSA-q37h-jhf3-85cj"},{"type":"PACKAGE","url":"https://github.com/wintercms/winter"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2024-12-08T05:33:00.377046Z"}}