{"id":"CVE-2022-40282","published":"2022-11-25T00:00:00Z","modified":"2025-04-29T14:54:42Z","title":"The web server of Hirschmann BAT-C2 before 09.13.01.00R04 allows authenticated command injection","vendor":null,"product":null,"tier":"tail","description":{"text":"The web server of Hirschmann BAT-C2 before 09.13.01.00R04 allows authenticated command injection. This allows an authenticated attacker to pass commands to the shell of the system because the dir parameter of the FsCreateDir Ajax function is not sufficiently sanitized. The vendor's ID is BSECV-2022-21.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.04333,"percentile":0.91431,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://www.belden.com/support/security-assurance","tags":[]},{"url":"http://seclists.org/fulldisclosure/2022/Nov/19","tags":["mailing-list"]},{"url":"http://packetstormsecurity.com/files/170063/Hirschmann-Belden-BAT-C2-8.8.1.0R8-Command-Injection.html","tags":[]}],"priority":{"score":29.4,"factors":[{"name":"EPSS percentile","points":18.29},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-29T14:53:48.275601Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The web server of Hirschmann BAT-C2, in versions before 09.13.01.00R04, contains a command injection flaw. An authenticated attacker with network access to the web interface can pass commands to the system shell through the dir parameter of the FsCreateDir Ajax function, which is not sufficiently sanitised, and no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:03:00Z"},"euvd":{"id":"EUVD-2022-43579","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/170063/Hirschmann-Belden-BAT-C2-8.8.1.0R8-Command-Injection.html"]}