{"answers":{"affected":"4 open source packages ship an affected version, including silverstripe/cms.","exploited":"There is no known exploitation of GHSA-3mm9-2p44-rw39 in the wild and no public exploit code.","fix":"Upgrade silverstripe/cms to a fixed version for your release line: 3.0.12 or 3.1.11.","what":"GHSA-3mm9-2p44-rw39 is a missing authorization vulnerability in silverstripe/cms, published on 22 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-3mm9-2p44-rw39 and fix it if it is affected.\n\nWhat it is: GHSA-3mm9-2p44-rw39 is a missing authorization vulnerability in silverstripe/cms, published on 22 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-3mm9-2p44-rw39 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- silverstripe/cms (Packagist): affected from 3.0.0; fixed in 3.0.12\n- silverstripe/cms (Packagist): affected from 3.0.0; fixed in 3.0.12\n- silverstripe/cms (Packagist): affected from 3.1.0; fixed in 3.1.11\n- silverstripe/cms (Packagist): affected from 3.1.0; fixed in 3.1.11\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-3mm9-2p44-rw39/ (Markdown: https://insights.sbomify.com/GHSA-3mm9-2p44-rw39/index.md)","id":"GHSA-3mm9-2p44-rw39","markdown":"https://insights.sbomify.com/GHSA-3mm9-2p44-rw39/index.md","name":"GHSA-3mm9-2p44-rw39","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Silverstripe CMS","requires_auth":"none","summary":"Unauthenticated users can create new SiteTree objects in the database due to missing permission validation in the default configuration.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"A vulnerability exists in the permission validation for SiteTree object creation. By default user permissions are not validated by the SiteTree::canCreate method, unless overridden by user code or via the configuration system.\n\nThis vulnerability will allow users, or unauthenticated guests, to create new SiteTree objects in the database. This vulnerability is present when such users are given CMS access via other means, or if there is another mechanism (such as RestfulServer module) which allows model editing and relies on model-level permission checks.\n\nThis vulnerability is restricted to the creation of draft or live pages, and does not allow users to edit, publish, or unpublish existing pages.\n\nAll users should upgrade as soon as possible.","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":"Silverstripe SiteTree Creation Permission Vulnerability","id":"GHSA-3mm9-2p44-rw39","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["3.0.12"],"introduced":["3.0.0"],"last_affected":[],"package":"silverstripe/cms","purl":null,"source":"GHSA-3mm9-2p44-rw39"},{"ecosystem":"Packagist","fixed":["3.0.12"],"introduced":["3.0.0"],"last_affected":[],"package":"silverstripe/cms","purl":"pkg:composer/silverstripe/cms","source":"GHSA-3mm9-2p44-rw39"},{"ecosystem":"Packagist","fixed":["3.1.11"],"introduced":["3.1.0"],"last_affected":[],"package":"silverstripe/cms","purl":null,"source":"GHSA-3mm9-2p44-rw39"},{"ecosystem":"Packagist","fixed":["3.1.11"],"introduced":["3.1.0"],"last_affected":[],"package":"silverstripe/cms","purl":"pkg:composer/silverstripe/cms","source":"GHSA-3mm9-2p44-rw39"}],"products":null,"published":"2024-05-22","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":"Unauthenticated users can create new SiteTree objects in the database due to missing permission validation in the default configuration.","url":"https://insights.sbomify.com/GHSA-3mm9-2p44-rw39/"}