{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5340 exists.","fix":"No fix has been published for CVE-2023-5340 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-5340 is a critical unsafe deserialization vulnerability in Unknown Five Star Restaurant Menu and Food Ordering, published on 20 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-5340 and fix it if it is affected.\n\nWhat it is: CVE-2023-5340 is a critical unsafe deserialization vulnerability in Unknown Five Star Restaurant Menu and Food Ordering, published on 20 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5340 exists.\n\nAffected product: Unknown Five Star Restaurant Menu and Food Ordering. No package-level version data is available, so check the vendor advisory linked from the reference page.\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/CVE-2023-5340/ (Markdown: https://insights.sbomify.com/CVE-2023-5340/index.md)","id":"CVE-2023-5340","markdown":"https://insights.sbomify.com/CVE-2023-5340/index.md","name":"CVE-2023-5340","record":{"aliases":["GHSA-v88m-92x2-qxm5"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Unauthenticated attackers can trigger PHP object injection via AJAX, potentially leading to code execution if suitable gadgets exist.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"five_star_restaurant_menu","vendor":"fivestarplugins"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"The Five Star Restaurant Menu and Food Ordering WordPress plugin before 2.4.11 unserializes user input via an AJAX action available to unauthenticated users, allowing them to perform PHP Object Injection when a suitable gadget is present on the blog.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Five Star Restaurant Menu and Food Ordering \u003c 2.4.11 - Unauthenticated PHP Object Injection","id":"CVE-2023-5340","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"deserialization","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Imagemagick: heap use-after-free in coders/bmp.c","id":"CVE-2023-5341"},"packages":[],"prev":{"headline":"Mattermost Desktop logs all keystrokes during initial run after fresh installation","id":"CVE-2023-5339"},"products":["Five Star Restaurant Menu and Food Ordering"],"published":"2023-11-20","related":[{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2020-29045","kev_date_added":null,"published":"2021-03-11"},{"cvss_score":7.1,"headline":"WordPress Five Star Restaurant Reservations Plugin \u003c= 2.6.7 is vulnerable to Cross Site Scripting (XSS)","id":"CVE-2023-34017","kev_date_added":null,"published":"2023-07-25"},{"cvss_score":6.5,"headline":"WordPress Five Star Restaurant Reviews Plugin \u003c= 2.3.5 is vulnerable to Cross Site Scripting (XSS)","id":"CVE-2024-24838","kev_date_added":null,"published":"2024-02-05"},{"cvss_score":4.3,"headline":"Restaurant Menu and Food Ordering \u003c= 2.4.16 - Missing Authorization to Menu Creation","id":"CVE-2024-5459","kev_date_added":null,"published":"2024-06-05"},{"cvss_score":4.3,"headline":"WordPress Five Star Restaurant Menu Plugin \u003c= 2.4.6 is vulnerable to Cross Site Request Forgery (CSRF)","id":"CVE-2023-37985","kev_date_added":null,"published":"2023-07-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-21","vendors":["Unknown"]},"summary":"Unauthenticated attackers can trigger PHP object injection via AJAX, potentially leading to code execution if suitable gadgets exist.","url":"https://insights.sbomify.com/CVE-2023-5340/"}