{"id":"CVE-2021-43836","state":"PUBLISHED","title":"PHP file inclusion in the Sulu admin panel","description":"Sulu is an open-source PHP content management system based on the Symfony framework. In affected versions an attacker can read arbitrary local files via a PHP file include. In a default configuration this also leads to remote code execution. The problem is patched with the Versions 1.6.44, 2.2.18, 2.3.8, 2.4.0. For users unable to upgrade overwrite the service `sulu_route.generator.expression_token_provider` and wrap the translator before passing it to the expression language.","publishedAt":"2021-12-15T20:10:10.000Z","updatedAt":"2024-08-04T04:10:16.325Z","severity":{"score":8.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["sulu sulu"],"affected":[{"vendor":"sulu","product":"sulu","versions":[{"version":"< 1.6.44","status":"affected"},{"version":">= 2.0.0, < 2.2.18","status":"affected"},{"version":">= 2.3.0, < 2.3.8","status":"affected"}]}],"references":["https://github.com/sulu/sulu/security/advisories/GHSA-vx6j-pjrh-vgjh","https://github.com/sulu/sulu/commit/9c948f9ce350c68b53af8c3910e2cefc7f722b54"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T19:49:07.642Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/43xxx/CVE-2021-43836.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-43836","state":"PUBLISHED","datePublished":"2021-12-15T20:10:10.000Z","dateUpdated":"2024-08-04T04:10:16.325Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2021-11-16T00:00:00.000Z"},"containers":{"cna":{"title":"PHP file inclusion in the Sulu admin panel","descriptions":[{"lang":"en","value":"Sulu is an open-source PHP content management system based on the Symfony framework. In affected versions an attacker can read arbitrary local files via a PHP file include. In a default configuration this also leads to remote code execution. The problem is patched with the Versions 1.6.44, 2.2.18, 2.3.8, 2.4.0. For users unable to upgrade overwrite the service `sulu_route.generator.expression_token_provider` and wrap the translator before passing it to the expression language."}],"affected":[{"vendor":"sulu","product":"sulu","versions":[{"version":"< 1.6.44","status":"affected"},{"version":">= 2.0.0, < 2.2.18","status":"affected"},{"version":">= 2.3.0, < 2.3.8","status":"affected"}]}],"references":[{"url":"https://github.com/sulu/sulu/security/advisories/GHSA-vx6j-pjrh-vgjh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sulu/sulu/commit/9c948f9ce350c68b53af8c3910e2cefc7f722b54","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-12-15T20:10:09.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-vx6j-pjrh-vgjh","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-43836","STATE":"PUBLIC","TITLE":"PHP file inclusion in the Sulu admin panel"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"sulu","version":{"version_data":[{"version_value":"< 1.6.44"},{"version_value":">= 2.0.0, < 2.2.18"},{"version_value":">= 2.3.0, < 2.3.8"}]}}]},"vendor_name":"sulu"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Sulu is an open-source PHP content management system based on the Symfony framework. In affected versions an attacker can read arbitrary local files via a PHP file include. In a default configuration this also leads to remote code execution. The problem is patched with the Versions 1.6.44, 2.2.18, 2.3.8, 2.4.0. For users unable to upgrade overwrite the service `sulu_route.generator.expression_token_provider` and wrap the translator before passing it to the expression language."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}]},"references":{"reference_data":[{"name":"https://github.com/sulu/sulu/security/advisories/GHSA-vx6j-pjrh-vgjh","refsource":"CONFIRM","url":"https://github.com/sulu/sulu/security/advisories/GHSA-vx6j-pjrh-vgjh"},{"name":"https://github.com/sulu/sulu/commit/9c948f9ce350c68b53af8c3910e2cefc7f722b54","refsource":"MISC","url":"https://github.com/sulu/sulu/commit/9c948f9ce350c68b53af8c3910e2cefc7f722b54"}]},"source":{"advisory":"GHSA-vx6j-pjrh-vgjh","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/sulu/sulu/security/advisories/GHSA-vx6j-pjrh-vgjh","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/sulu/sulu/commit/9c948f9ce350c68b53af8c3910e2cefc7f722b54","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T04:10:16.325Z"}}]}}}