{"answers":{"affected":"4 open source packages ship an affected version, including typo3/cms.","exploited":"There is no known exploitation of GHSA-8h4m-r4wm-xj7r in the wild and no public exploit code.","fix":"Upgrade typo3/cms to a fixed version for your release line: 8.7.23 or 9.5.4.","what":"GHSA-8h4m-r4wm-xj7r is a vulnerability in typo3/cms, published on 7 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-8h4m-r4wm-xj7r and fix it if it is affected.\n\nWhat it is: GHSA-8h4m-r4wm-xj7r is a vulnerability in typo3/cms, published on 7 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-8h4m-r4wm-xj7r in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- typo3/cms (Packagist): affected from 8.0.0; fixed in 8.7.23\n- typo3/cms (Packagist): affected from 8.0.0; fixed in 8.7.23\n- typo3/cms (Packagist): affected from 9.0.0; fixed in 9.5.4\n- typo3/cms (Packagist): affected from 9.0.0; fixed in 9.5.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-8h4m-r4wm-xj7r/ (Markdown: https://insights.sbomify.com/GHSA-8h4m-r4wm-xj7r/index.md)","id":"GHSA-8h4m-r4wm-xj7r","markdown":"https://insights.sbomify.com/GHSA-8h4m-r4wm-xj7r/index.md","name":"GHSA-8h4m-r4wm-xj7r","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"configuration_change","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"TYPO3 CMS","requires_auth":"low_privilege","summary":"Authenticated backend users can upload executable files like .phar or .cgi to achieve remote code execution if the server is configured to handle these extensions.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"Due to missing file extensions in $GLOBALS['TYPO3_CONF_VARS']['BE'][‘fileDenyPattern’], backend users are allowed to upload *.phar, *.shtml, *.pl or *.cgi files which can be executed in certain web server setups. A valid backend user account is needed in order to exploit this vulnerability.\n\nDerivatives of Debian GNU Linux are handling *.phar files as PHP applications since PHP 7.1 (for unofficial packages) and PHP 7.2 (for official packages).\n\nThe file extension *.shtml is bound to server side includes which are not enabled per default in most common Linux based distributions. File extension *.pl and *.cgi require additional handlers to be configured which is also not the case in most common distributions (except for /cgi-bin/ location).","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"TYPO3 Arbitrary Code Execution via File List Module","id":"GHSA-8h4m-r4wm-xj7r","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"file_upload","year":"2024"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["8.7.23"],"introduced":["8.0.0"],"last_affected":[],"package":"typo3/cms","purl":null,"source":"GHSA-8h4m-r4wm-xj7r"},{"ecosystem":"Packagist","fixed":["8.7.23"],"introduced":["8.0.0"],"last_affected":[],"package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"GHSA-8h4m-r4wm-xj7r"},{"ecosystem":"Packagist","fixed":["9.5.4"],"introduced":["9.0.0"],"last_affected":[],"package":"typo3/cms","purl":null,"source":"GHSA-8h4m-r4wm-xj7r"},{"ecosystem":"Packagist","fixed":["9.5.4"],"introduced":["9.0.0"],"last_affected":[],"package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"GHSA-8h4m-r4wm-xj7r"}],"products":null,"published":"2024-06-07","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Authenticated backend users can upload executable files like .phar or .cgi to achieve remote code execution if the server is configured to handle these extensions.","url":"https://insights.sbomify.com/GHSA-8h4m-r4wm-xj7r/"}