{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-10642 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-10642 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-10642 is a high-severity code injection vulnerability in Combodo Itop, published on 2 May 2018. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-10642 and fix it if it is affected.\n\nWhat it is: CVE-2018-10642 is a high-severity code injection vulnerability in Combodo Itop, published on 2 May 2018. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-10642 in the wild and no public exploit code.\n\nAffected product: Combodo Itop. 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-10642/ (Markdown: https://insights.sbomify.com/CVE-2018-10642/index.md)","id":"CVE-2018-10642","markdown":"https://insights.sbomify.com/CVE-2018-10642/index.md","name":"CVE-2018-10642","record":{"aliases":["GHSA-w7xq-2x44-5m2x"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"ITSM web application","requires_auth":"high_privilege","summary":"Authenticated administrators can execute arbitrary code via eval in iTop configuration, requiring an upgrade to secure the application.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"itop","vendor":"combodo"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:H/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":"Command injection vulnerability in Combodo iTop 2.4.1 allows remote authenticated administrators to execute arbitrary commands by changing the platform configuration, because web/env-production/itop-config/config.php contains a function called TestConfig() that calls the vulnerable function eval().","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Code injection in n/a","id":"CVE-2018-10642","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"combodo:itop","products":["combodo:itop"],"type":"code_injection","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2018-10645"},"packages":[],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2018-10641"},"products":["n/a"],"published":"2018-05-02","related":[{"cvss_score":9.8,"headline":"iTop limit pages/exec.php script to PHP files","id":"CVE-2023-48710","kev_date_added":null,"published":"2024-04-15"},{"cvss_score":9.6,"headline":"Authenticated users of Combodo iTop can take over any account","id":"CVE-2022-39214","kev_date_added":null,"published":"2023-03-14"},{"cvss_score":9.3,"headline":"XSS in csvimport in 3.0.0-beta versions","id":"CVE-2021-41161","kev_date_added":null,"published":"2022-04-21"},{"cvss_score":9.3,"headline":"Cross-site Scripting in Combodo iTop","id":"CVE-2021-41162","kev_date_added":null,"published":"2022-04-21"},{"cvss_score":8.8,"headline":"Combodo iTop has XSS vulnerability in /pages/ajax.render.php","id":"CVE-2025-47773","kev_date_added":null,"published":"2025-11-10"},{"cvss_score":8.8,"headline":"Combodo iTop vulnerable to reflected XSS in ajax.render.php render_dashboard","id":"CVE-2025-47932","kev_date_added":null,"published":"2025-11-10"},{"cvss_score":8.8,"headline":"Combodo iTop vulnerable to reflected XSS via objection edition form error","id":"CVE-2025-48065","kev_date_added":null,"published":"2025-11-10"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Authenticated administrators can execute arbitrary code via eval in iTop configuration, requiring an upgrade to secure the application.","url":"https://insights.sbomify.com/CVE-2018-10642/"}