{"answers":{"affected":"2 open source packages ship an affected version, including magento/community-edition.","exploited":"There is no known exploitation of GHSA-prpf-cj87-hwvr in the wild and no public exploit code.","fix":"Upgrade magento/community-edition to 1.9.3.9 or later.","what":"GHSA-prpf-cj87-hwvr is a code injection vulnerability in magento/community-edition, published on 15 May 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-prpf-cj87-hwvr and fix it if it is affected.\n\nWhat it is: GHSA-prpf-cj87-hwvr is a code injection vulnerability in magento/community-edition, published on 15 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-prpf-cj87-hwvr in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- magento/community-edition (Packagist): affected all versions; fixed in 1.9.3.9\n- magento/community-edition (Packagist): affected all versions; fixed in 1.9.3.9\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-prpf-cj87-hwvr/ (Markdown: https://insights.sbomify.com/GHSA-prpf-cj87-hwvr/index.md)","id":"GHSA-prpf-cj87-hwvr","markdown":"https://insights.sbomify.com/GHSA-prpf-cj87-hwvr/index.md","name":"GHSA-prpf-cj87-hwvr","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Magento e-commerce platform","requires_auth":"high_privilege","summary":"Authenticated admin users can achieve remote code execution via layout XML, order creation, or PHP object injection in Magento.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"Magento Commerce 1.14.3.9 and Open Source 1.9.3.9 bring essential security enhancements with Patch SUPEE-10752. These updates address various vulnerabilities, including authenticated Admin user remote code execution (RCE), cross-site request forgery (CSRF), and more.\n\nKey Security Improvements:\n\n- APPSEC-2001: Authenticated Remote Code Execution (RCE) using custom layout XML\n- APPSEC-2015: Authenticated Remote Code Execution (RCE) through the Create New Order feature (Commerce only)\n- APPSEC-2042: PHP Object Injection and RCE in the Magento admin panel (Commerce Target Rule module)\n- APPSEC-2029: PHP Object Injection and Remote Code Execution (RCE) in the Admin panel (Commerce)\n- APPSEC-2007: Authenticated SQL Injection when saving a category\n- APPSEC-2027: CSRF is possible against Web sites, Stores, and Store Views\n- APPSEC-1882: The cron.php file can leak database credentials\n- APPSEC-2006: Stored cross-site scripting (XSS) through the Enterprise Logging extension\n- APPSEC-2005: Persistent Cross-Site Scripting (XSS) injection in Configuration table\n- APPSEC-1880: Cross-Site Scripting (XSS) through the Admin Username in the CMS Revision Editor (Commerce only)\n- APPSEC-2004: Cross-Site Scripting (XSS) through Remote File Inclusion\n- APPSEC-1988: Path traversal vulnerability in templates\n- APPSEC-1987: Reflective cross-site scripting (XSS) through filter manipulation\n- APPSEC-2034: XSS in Admin Create Order Configure Product Via Compatible File Extensions\n- APPSEC-1876: Cross-site scripting (XSS) in Admin Bundle Product Bundle Items Tab through Product SKU\n- APPSEC-1874: Cross-Site Scripting (XSS) in the Admin Gift Registry Type Edit via Attribute Group\n- APPSEC-1872: Cross-Site Scripting (XSS) in the Admin Manage Catalog Events list through category name\n- APPSEC-1928: Stored XSS in Downloadable Product Links title - frontend\n- APPSEC-1871: Cross-Site Scripting (XSS) in the Admin Manage Customer Rewards points history using the Reason field\n- APPSEC-1870: Cross-Site Scripting (XSS) in Admin Manage Invitations list through Invitee email address\n- APPSEC-1972/APPSEC-2103: Admin password change does not force the logout of the Admin user\n- APPSEC-1934: Systemic Cross-Site Request Forgery (CSRF) on the Checkout page\n- APPSEC-1917: Password theft though uploaded video and Auth Prompt password theft vulnerability\n- APPSEC-1993: IP spoofing\n\nPatches and upgrades are available for the following Magento versions:\n\n- Magento Commerce 1.9.0.0-1.14.3.9: SUPEE-10752 or upgrade to Magento Commerce 1.14.3.9.\n- Magento Open Source 1.5.0.0-1.9.3.9: SUPEE-10752 or upgrade to Magento Open Source 1.9.3.9.","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":"Magento Patch SUPEE-10752 - Multiple security enhancements vulnerabilities","id":"GHSA-prpf-cj87-hwvr","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["1.9.3.9"],"introduced":["0"],"last_affected":[],"package":"magento/community-edition","purl":null,"source":"GHSA-prpf-cj87-hwvr"},{"ecosystem":"Packagist","fixed":["1.9.3.9"],"introduced":["0"],"last_affected":[],"package":"magento/community-edition","purl":"pkg:composer/magento/community-edition","source":"GHSA-prpf-cj87-hwvr"}],"products":null,"published":"2024-05-15","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 admin users can achieve remote code execution via layout XML, order creation, or PHP object injection in Magento.","url":"https://insights.sbomify.com/GHSA-prpf-cj87-hwvr/"}