{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-38130 exists.","fix":"No fix has been published for CVE-2022-38130 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-38130 is a critical path traversal vulnerability in Keysight Technologies Sensor Management Server, published on 10 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-38130 and fix it if it is affected.\n\nWhat it is: CVE-2022-38130 is a critical path traversal vulnerability in Keysight Technologies Sensor Management Server, published on 10 Aug 2022. 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-2022-38130 exists.\n\nAffected product: Keysight Technologies Sensor Management Server. 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-2022-38130/ (Markdown: https://insights.sbomify.com/CVE-2022-38130/index.md)","id":"CVE-2022-38130","markdown":"https://insights.sbomify.com/CVE-2022-38130/index.md","name":"CVE-2022-38130","record":{"aliases":["GHSA-qp3h-7m84-76rf"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Sensor Management Server","requires_auth":"none","summary":"An unauthenticated remote attacker can specify an UNC path to restore a malicious database, potentially leading to code execution or data modification.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"tenable","cpe":[{"product":"sensor_management_server","vendor":"keysight"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"The com.keysight.tentacle.config.ResourceManager.smsRestoreDatabaseZip() method is used to restore the HSQLDB database used in SMS. It takes the path of the zipped database file as the single parameter. An unauthenticated, remote attacker can specify an UNC path for the database file (i.e., \\\\\u003cattacker-host\u003e\\sms\\\u003cattacker-db.zip\u003e), effectively controlling the content of the database to be restored.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2022/CVE-2022-38130.yaml","stars":null,"title":"KeySight RF - smsRestoreDatabaseZip UNC path to Remote Code Execution"}],"tier":"weaponised"},"has_fix":null,"headline":"Path traversal in Keysight Technologies Sensor Management Server","id":"CVE-2022-38130","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Open redirect in RStudio Connect","id":"CVE-2022-38131"},"packages":[],"prev":{"headline":"Path traversal in Keysight Technologies Sensor Management Server","id":"CVE-2022-38129"},"products":["Keysight Technologies Sensor Management Server"],"published":"2022-08-10","related":[{"cvss_score":8.1,"headline":"Path traversal in Keysight Technologies Sensor Management Server","id":"CVE-2022-38129","kev_date_added":null,"published":"2022-08-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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"An unauthenticated remote attacker can specify an UNC path to restore a malicious database, potentially leading to code execution or data modification.","url":"https://insights.sbomify.com/CVE-2022-38130/"}