{"answers":{"affected":"1 open source package ship an affected version, including drupal/core.","exploited":"There is no known exploitation of DRUPAL-CORE-2023-004 in the wild and no public exploit code.","fix":"Upgrade drupal/core to a fixed version for your release line: 9.4.12, 9.5.5 or 10.0.5.","what":"DRUPAL-CORE-2023-004 is a vulnerability in drupal/core, published on 15 Mar 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for DRUPAL-CORE-2023-004 and fix it if it is affected.\n\nWhat it is: DRUPAL-CORE-2023-004 is a vulnerability in drupal/core, published on 15 Mar 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of DRUPAL-CORE-2023-004 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- drupal/core (Packagist): affected from 8.0.0; fixed in 9.4.12, 9.5.5, 10.0.5\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/DRUPAL-CORE-2023-004/ (Markdown: https://insights.sbomify.com/DRUPAL-CORE-2023-004/index.md)","id":"DRUPAL-CORE-2023-004","markdown":"https://insights.sbomify.com/DRUPAL-CORE-2023-004/index.md","name":"DRUPAL-CORE-2023-004","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Drupal core","requires_auth":"high_privilege","summary":"An attacker with XSS access to a privileged user can exploit the phpinfo page to disclose sensitive configuration data, aiding privilege escalation.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"Drupal core provides a page that outputs the markup from `phpinfo()` to assist with diagnosing PHP configuration.\n\nIf an attacker was able to achieve an XSS exploit against a privileged user, they may be able to use the phpinfo page to access sensitive information that could be used to escalate the attack.\n\nThis vulnerability is mitigated by the fact that a successful XSS exploit is required in order to exploit it.","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":"Drupal core provides a page that outputs the markup from `phpinfo()` to assist with diagnosing PHP configuration.","id":"DRUPAL-CORE-2023-004","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":1,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["9.4.12","9.5.5","10.0.5"],"introduced":["8.0.0","9.5.0","10.0.0"],"last_affected":[],"package":"drupal/core","purl":"pkg:composer/drupal/core","source":"DRUPAL-CORE-2023-004"}],"products":null,"published":"2023-03-15","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"Drupal","prefix":"DRUPAL"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An attacker with XSS access to a privileged user can exploit the phpinfo page to disclose sensitive configuration data, aiding privilege escalation.","url":"https://insights.sbomify.com/DRUPAL-CORE-2023-004/"}