{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-31777 exists.","fix":"No fix has been published for CVE-2024-31777 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-31777 is a critical vulnerability in n/a, published on 13 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-31777 and fix it if it is affected.\n\nWhat it is: CVE-2024-31777 is a critical vulnerability in n/a, published on 13 Jun 2024. 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-2024-31777 exists.\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-2024-31777/ (Markdown: https://insights.sbomify.com/CVE-2024-31777/index.md)","id":"CVE-2024-31777","markdown":"https://insights.sbomify.com/CVE-2024-31777/index.md","name":"CVE-2024-31777","record":{"aliases":["GHSA-2jw4-8qc2-wm33"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Open eClass LMS","requires_auth":"none","summary":"An attacker can execute arbitrary code by uploading a crafted file to the certbadge.php endpoint in Open eClass.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"openeclass","vendor":"openeclass"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","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-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"File Upload vulnerability in openeclass v.3.15 and before allows an attacker to execute arbitrary code via a crafted file to the certbadge.php endpoint.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2024-04-11","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-04-11T13:48:19Z","kind":"github_poc","ref":"https://github.com/FreySolarEye/Exploit-CVE-2024-31777","stars":1,"title":"Public exploit for CVE-2024-31777"},{"date":"2024-04-12","kind":"exploitdb","ref":"51975","stars":null,"title":"GUnet OpenEclass E-learning platform 3.15 - 'certbadge.php' Unrestricted File Upload"}],"tier":"weaponised"},"has_fix":false,"headline":"File upload in n/a","id":"CVE-2024-31777","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2024-31783"},"packages":[],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2024-31771"},"products":["n/a"],"published":"2024-06-13","related":[{"cvss_score":9.8,"headline":"Open eClass Platform allows Arbitrary File Upload in \"modules/h5p/save.php\"","id":"CVE-2024-38530","kev_date_added":null,"published":"2024-08-12"},{"cvss_score":9.1,"headline":"File upload in n/a","id":"CVE-2024-26503","kev_date_added":null,"published":"2024-03-14"},{"cvss_score":7.3,"headline":"Open eClass has Unrestricted File Upload that Leads to Remote Code Execution (RCE)","id":"CVE-2026-22241","kev_date_added":null,"published":"2026-01-08"},{"cvss_score":6.5,"headline":"Path traversal in n/a","id":"CVE-2022-33116","kev_date_added":null,"published":"2022-06-27"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2017-7389","kev_date_added":null,"published":"2017-04-01"},{"cvss_score":6,"headline":"Cross-site scripting in n/a","id":"CVE-2024-33253","kev_date_added":null,"published":"2024-06-13"}],"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":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-06","vendors":["n/a"]},"summary":"An attacker can execute arbitrary code by uploading a crafted file to the certbadge.php endpoint in Open eClass.","url":"https://insights.sbomify.com/CVE-2024-31777/"}