CVE-2022-38130
keysight sensor_management_server Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Record summary
CVE-2022-38130 has a selected CVSS score of 9.8 (critical); EIP currently links 1 Nuclei template.
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., \\<attacker-host>\sms\<attacker-db.zip>), effectively controlling the content of the database to be restored.
Exploitation context
Known exploitation
- VulnCheck KEV
- Listed · Nov 18, 2023 · VulnCheck
- Reported exploitation
- Observed · VulnCheck
Available material
- Nuclei templates
- 1
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
sensor_management_serverBrowse keysight / sensor_management_server | VulnCheck | Version data not supplied | |
Keysight Technologies Sensor Management Server | CVE List | Keysight Technologies Sensor Management Server v2.4.0 | affected |
Nuclei templates
1ProjectDiscoveryCRITICALKeySight RF - smsRestoreDatabaseZip UNC path to Remote Code ExecutionCVSS 9.8
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., \\<attacker-host>\sms\<attacker-db.zip>), effectively controlling the content of the database to be restored.
Impact
Unauthenticated attackers can control database content, potentially leading to data tampering or execution of malicious code.
Remediation
Implement validation and sanitization of the database file path parameter to restrict to trusted locations.
Source: ProjectDiscovery