{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-2478 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-2478 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-2478 is a high-severity command injection vulnerability in SAP Basis (TREX / BWA installation), published on 13 Nov 2018. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-2478 and fix it if it is affected.\n\nWhat it is: CVE-2018-2478 is a high-severity command injection vulnerability in SAP Basis (TREX / BWA installation), published on 13 Nov 2018. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-2478 in the wild and no public exploit code.\n\nAffected product: SAP Basis (TREX / BWA installation). 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-2478/ (Markdown: https://insights.sbomify.com/CVE-2018-2478/index.md)","id":"CVE-2018-2478","markdown":"https://insights.sbomify.com/CVE-2018-2478/index.md","name":"CVE-2018-2478","record":{"aliases":["GHSA-wxfr-9w7h-p9c2"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"SAP Basis TREX","requires_auth":"high_privilege","summary":"Attackers can execute arbitrary commands on SAP Basis TREX/BWA hosts via crafted inputs, limited by the \u003csid\u003eadm user privileges.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sap","cpe":[{"product":"basis","vendor":"sap"}],"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":[],"description":"An attacker can use specially crafted inputs to execute commands on the host of a TREX / BWA installation, SAP Basis, versions: 7.0 to 7.02, 7.10 to 7.11, 7.30, 7.31, 7.40 and 7.50 to 7.53. Not all commands are possible, only those that can be executed by the \u003csid\u003eadm user. The commands executed depend upon the privileges of the \u003csid\u003eadm user.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Command injection in SAP Basis (TREX / BWA installation)","id":"CVE-2018-2478","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2018"},"n_packages":0,"n_references":3,"next":{"headline":"Cross-site scripting in SAP BusinessObjects Business Intelligence Platform (BIWorkspace)","id":"CVE-2018-2479"},"packages":[],"prev":{"headline":"XML external entity in Knowledge Management (XMLForms) in SAP NetWeaver","id":"CVE-2018-2477"},"products":["SAP Basis (TREX / BWA installation)"],"published":"2018-11-13","related":[{"cvss_score":8.8,"headline":"Code injection in BASIS","id":"CVE-2022-41264","kev_date_added":null,"published":"2022-12-13"},{"cvss_score":5.9,"headline":"Information disclosure in SAP Gateway of ABAP Application Server(SAP BASIS)","id":"CVE-2019-0248","kev_date_added":null,"published":"2019-01-08"},{"cvss_score":4.3,"headline":"Missing authorization in Automated Note Search Tool (SAP Basis)","id":"CVE-2020-6307","kev_date_added":null,"published":"2020-01-14"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["SAP"]},"summary":"Attackers can execute arbitrary commands on SAP Basis TREX/BWA hosts via crafted inputs, limited by the \u003csid\u003eadm user privileges.","url":"https://insights.sbomify.com/CVE-2018-2478/"}