{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-31295 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-31295 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-31295 is a high-severity missing authorization vulnerability in n/a, published on 16 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-31295 and fix it if it is affected.\n\nWhat it is: CVE-2022-31295 is a high-severity missing authorization vulnerability in n/a, published on 16 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-31295 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2022-31295/ (Markdown: https://insights.sbomify.com/CVE-2022-31295/index.md)","id":"CVE-2022-31295","markdown":"https://insights.sbomify.com/CVE-2022-31295/index.md","name":"CVE-2022-31295","record":{"aliases":["GHSA-j4gw-rr47-472j"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Online Discussion Forum","requires_auth":"none","summary":"Unauthenticated attackers can arbitrarily delete posts due to missing authorization checks in the delete_post function.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"online_discussion_forum_site","vendor":"razormist"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"description":"An issue in the delete_post() function of Online Discussion Forum Site 1 allows unauthenticated attackers to arbitrarily delete posts.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-06-13","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-06-13T19:16:13Z","kind":"github_poc","ref":"https://github.com/bigzooooz/CVE-2022-31295","stars":1,"title":"Online Discussion Forum Site 1.0 - IDOR / Delete any post"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Missing authorization in n/a","id":"CVE-2022-31295","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"SQL injection in n/a","id":"CVE-2022-31296"},"packages":[],"prev":{"headline":"Cross-site request forgery in n/a","id":"CVE-2022-31294"},"products":["n/a"],"published":"2022-06-16","related":[{"cvss_score":7.2,"headline":"SQL injection in n/a","id":"CVE-2022-31911","kev_date_added":null,"published":"2022-06-16"},{"cvss_score":6.9,"headline":"SourceCodester Online Discussion Forum Site registerH.php unrestricted upload","id":"CVE-2024-4920","kev_date_added":null,"published":"2024-05-16"},{"cvss_score":6.5,"headline":"Cross-site request forgery in n/a","id":"CVE-2022-31294","kev_date_added":null,"published":"2022-06-16"},{"cvss_score":6.3,"headline":"SourceCodester Online Discussion Forum Site uupdate.php unrestricted upload","id":"CVE-2024-2690","kev_date_added":null,"published":"2024-03-20"},{"cvss_score":6.3,"headline":"SourceCodester Online Discussion Forum Site sql injection","id":"CVE-2023-3145","kev_date_added":null,"published":"2023-06-07"},{"cvss_score":6.3,"headline":"SourceCodester Online Discussion Forum Site manage_category.php sql injection","id":"CVE-2023-3146","kev_date_added":null,"published":"2023-06-07"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Unauthenticated attackers can arbitrarily delete posts due to missing authorization checks in the delete_post function.","url":"https://insights.sbomify.com/CVE-2022-31295/"}