cbcvebase.
CVE-2022-38130
published 2022-08-10

CVE-2022-38130: The com.keysight.tentacle.config.ResourceManager.smsRestoreDatabaseZip() method is used to restore the HSQLDB database used in SMS. It takes the path of the…

PriorityP188critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
53.39%
98.9th percentile
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., \\\sms\), effectively controlling the content of the database to be restored.

Affected

1 ranges
VendorProductVersion rangeFixed in
keysightsensor_management_server

Detection & IOCsextracted from sources · hover to see the quote

url/server/service/smsConfigServiceHttpInvoker
url/server/service/sensorConfigServiceHttpInvoker
otherContent-Type: application/x-java-serialized-object
processKeysightSMS.exe
bytes
aced0005737200356f72672e737072696e676672616d65776f726b2e72656d6f74696e672e737570706f72742e52656d6f7465496e766f636174696f6e5f6c8b9ff60a110a0200045b0009617267756d656e74737400135b4c6a6176612f6c616e672f4f626a6563743b4c000a6174747269627574657374000f4c6a6176612f7574696c2f4d61703b4c000a6d6574686f644e616d657400124c6a6176612f6c616e672f537472696e673b5b000e706172616d6574657254797065737400125b4c6a6176612f6c616e672f436c6173733b7870757200135b4c6a6176612e6c616e672e4f626a6563743b90ce589f1073296c0200007870000000017400
  • Detect exploitation attempts by monitoring HTTP POST requests to /server/service/smsConfigServiceHttpInvoker with Content-Type: application/x-java-serialized-object; the serialized payload begins with the Java serialization magic bytes 0xACED0005.
  • Detect exploitation of CVE-2022-38129 by monitoring POST requests to /server/service/licensingServiceHttpInvoker for path traversal sequences (e.g., '../') in the license file name parameter.
  • Alert on UNC path strings (e.g., \\<host>\<share>) supplied as the database file path parameter to smsRestoreDatabaseZip, indicating an attacker is attempting to load a remote HSQLDB database.
  • Monitor for DNS/SMB outbound connections from the KeysightSMS.exe process to external hosts, which may indicate UNC path coercion during smsRestoreDatabaseZip exploitation.
  • Alert on HTTP responses containing both 'org.springframework' and 'RemoteInvocationResult' in the body with Content-Type application/x-java-serialized-object, indicating successful invocation of the vulnerable Spring HTTP invoker endpoint.
  • Monitor for creation of unexpected executables (e.g., ping.exe) in the SMS installation directory, which may indicate a path traversal file upload via addLicenseFile() being used to stage a payload for RCE via sensorPing().
  • ·The smsRestoreDatabaseZip exploit relies on HSQLDB's ability to execute Java static methods via SQL in the script file; the attacker must control a remote SMB share hosting a crafted HSQLDB zip to achieve RCE.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.