{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-6229 exists.","fix":"No fix has been published for CVE-2018-6229 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-6229 is a critical SQL injection vulnerability in Trend Micro Email Encryption Gateway, published on 15 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-6229 and fix it if it is affected.\n\nWhat it is: CVE-2018-6229 is a critical SQL injection vulnerability in Trend Micro Email Encryption Gateway, published on 15 Mar 2018. 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-2018-6229 exists.\n\nAffected product: Trend Micro Email Encryption Gateway. 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-6229/ (Markdown: https://insights.sbomify.com/CVE-2018-6229/index.md)","id":"CVE-2018-6229","markdown":"https://insights.sbomify.com/CVE-2018-6229/index.md","name":"CVE-2018-6229","record":{"aliases":["GHSA-mpmp-5r2x-4jvg"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Email Encryption Gateway","requires_auth":"none","summary":"An attacker can exploit SQL injection in the policy script to upload and execute arbitrary code on the Trend Micro Email Encryption Gateway.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"trendmicro","cpe":[{"product":"email_encryption_gateway","vendor":"trendmicro"}],"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-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"A SQL injection vulnerability in an Trend Micro Email Encryption Gateway 5.5 edit policy script could allow an attacker to execute SQL commands to upload and execute arbitrary code that may harm the target system.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2018-02-22","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-02-22","kind":"exploitdb","ref":"44166","stars":null,"title":"Trend Micro Email Encryption Gateway 5.5 (Build 1111.00) - Multiple Vulnerabilities"}],"tier":"weaponised"},"has_fix":null,"headline":"SQL injection in Trend Micro Email Encryption Gateway","id":"CVE-2018-6229","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2018"},"n_packages":0,"n_references":3,"next":{"headline":"SQL injection in Trend Micro Email Encryption Gateway","id":"CVE-2018-6230"},"packages":[],"prev":{"headline":"SQL injection in Trend Micro Email Encryption Gateway","id":"CVE-2018-6228"},"products":["Trend Micro Email Encryption Gateway"],"published":"2018-03-15","related":[{"cvss_score":9.8,"headline":"File upload in Trend Micro Email Encryption Gateway","id":"CVE-2018-6220","kev_date_added":null,"published":"2018-03-15"},{"cvss_score":9.8,"headline":"Missing authorization in Trend Micro Email Encryption Gateway","id":"CVE-2018-6223","kev_date_added":null,"published":"2018-03-15"},{"cvss_score":9.8,"headline":"SQL injection in Trend Micro Email Encryption Gateway","id":"CVE-2018-6228","kev_date_added":null,"published":"2018-03-15"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2016-4351","kev_date_added":null,"published":"2016-05-05"},{"cvss_score":8.8,"headline":"SQL injection in Trend Micro Email Encryption Gateway","id":"CVE-2018-10351","kev_date_added":null,"published":"2018-05-23"},{"cvss_score":8.8,"headline":"SQL injection in Trend Micro Email Encryption Gateway","id":"CVE-2018-10352","kev_date_added":null,"published":"2018-05-23"}],"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":["Trend Micro"]},"summary":"An attacker can exploit SQL injection in the policy script to upload and execute arbitrary code on the Trend Micro Email Encryption Gateway.","url":"https://insights.sbomify.com/CVE-2018-6229/"}