{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-5782 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-5782 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-5782 is a critical code injection vulnerability in n/a, published on 14 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-5782 and fix it if it is affected.\n\nWhat it is: CVE-2018-5782 is a critical code injection vulnerability in n/a, published on 14 Mar 2018. 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-2018-5782 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-2018-5782/ (Markdown: https://insights.sbomify.com/CVE-2018-5782/index.md)","id":"CVE-2018-5782","markdown":"https://insights.sbomify.com/CVE-2018-5782/index.md","name":"CVE-2018-5782","record":{"aliases":["GHSA-f6hm-9chg-x5vg"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Mitel Connect ONSITE","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary PHP code via injection in the conferencing component of Mitel Connect ONSITE.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"connect_onsite","vendor":"mitel"},{"product":"st14.2","vendor":"mitel"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"A vulnerability in the conferencing component of Mitel Connect ONSITE, versions R1711-PREM and earlier, and Mitel ST 14.2, release GA28 and earlier, could allow an unauthenticated attacker to inject PHP code using specially crafted requests to the vsethost.php page. Successful exploit could allow an attacker to execute arbitrary PHP code within the context of the application.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2019-01-16","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-01-16","kind":"exploitdb","ref":"46174","stars":null,"title":"ShoreTel / Mitel Connect ONSITE 19.49.5200.0 - Remote Code Execution"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Code injection in n/a","id":"CVE-2018-5782","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2018"},"n_packages":0,"n_references":3,"next":{"headline":"Denial of service in n/a","id":"CVE-2018-5783"},"packages":[],"prev":{"headline":"Code injection in n/a","id":"CVE-2018-5781"},"products":["n/a"],"published":"2018-03-14","related":[{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2018-5779","kev_date_added":null,"published":"2018-03-14"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2018-5780","kev_date_added":null,"published":"2018-03-14"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2018-5781","kev_date_added":null,"published":"2018-03-14"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2019-9591","kev_date_added":null,"published":"2019-03-06"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2019-9592","kev_date_added":null,"published":"2019-03-06"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2019-9593","kev_date_added":null,"published":"2019-03-06"}],"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"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Unauthenticated attackers can execute arbitrary PHP code via injection in the conferencing component of Mitel Connect ONSITE.","url":"https://insights.sbomify.com/CVE-2018-5782/"}