{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-9246 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-9246 is a critical command injection vulnerability in n/a, published on 8 Jun 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-9246 and fix it if it is affected.\n\nWhat it is: CVE-2018-9246 is a critical command injection vulnerability in n/a, published on 8 Jun 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-9246 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-9246/ (Markdown: https://insights.sbomify.com/CVE-2018-9246/index.md)","id":"CVE-2018-9246","markdown":"https://insights.sbomify.com/CVE-2018-9246/index.md","name":"CVE-2018-9246","record":{"aliases":["DEBIAN-CVE-2018-9246","GHSA-9f5v-36fp-5cv6","UBUNTU-CVE-2018-9246"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Perl DBAdmin module","requires_auth":"none","summary":"Insufficient sanitization in the Perl DBAdmin module allows attackers to execute arbitrary shell commands via specific functions.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ledgersmb","vendor":"ledgersmb"},{"product":"pgobject-util-dbadmin","vendor":"pgobject-util-dbadmin_project"}],"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-116","name":"Improper Encoding or Escaping of Output"}],"description":"The PGObject::Util::DBAdmin module before 0.120.0 for Perl, as used in LedgerSMB through 1.5.x, insufficiently sanitizes or escapes variable values used as part of shell command execution, resulting in shell code injection via the create(), run_file(), backup(), or restore() function. The vulnerability allows unauthorized users to execute code with the same privileges as the running application.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Command injection in n/a","id":"CVE-2018-9246","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2018"},"n_packages":0,"n_references":1,"next":{"headline":"SQL injection in n/a","id":"CVE-2018-9247"},"packages":[],"prev":{"headline":"SQL injection in n/a","id":"CVE-2018-9245"},"products":["n/a"],"published":"2018-06-08","related":[{"cvss_score":10,"headline":"Auth bypass in n/a","id":"CVE-2007-3907","kev_date_added":null,"published":"2007-07-19"},{"cvss_score":10,"headline":"Path traversal in n/a","id":"CVE-2007-1329","kev_date_added":null,"published":"2007-03-07"},{"cvss_score":9,"headline":"Auth bypass in n/a","id":"CVE-2007-1437","kev_date_added":null,"published":"2007-03-13"},{"cvss_score":7.8,"headline":"Denial of service in n/a","id":"CVE-2008-4077","kev_date_added":null,"published":"2008-09-15"},{"cvss_score":7.5,"headline":"Privilege escalation through CSRF attack on 'setup.pl'","id":"CVE-2024-23831","kev_date_added":null,"published":"2024-02-02"},{"cvss_score":7.5,"headline":"Missing authorization in n/a","id":"CVE-2007-1923","kev_date_added":null,"published":"2007-04-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":"Insufficient sanitization in the Perl DBAdmin module allows attackers to execute arbitrary shell commands via specific functions.","url":"https://insights.sbomify.com/CVE-2018-9246/"}