CVE-2022-31704: VMware vRealize Log Insight - Improper Access Control to RCE

日期: 2025-08-01 | 影响软件: VMware vRealize Log Insight | POC: 已公开

漏洞描述

The vRealize Log Insight contains a broken access control vulnerability. An unauthenticated malicious actor can remotely inject code into sensitive files of an impacted appliance which can result in remote code execution.

PoC代码[已公开]

id: CVE-2022-31704

info:
  name: VMware vRealize Log Insight - Improper Access Control to RCE
  author: ritikchaddha
  severity: critical
  description: |
    The vRealize Log Insight contains a broken access control vulnerability. An unauthenticated malicious actor can remotely inject code into sensitive files of an impacted appliance which can result in remote code execution.
  impact: |
    Successful exploitation allows a remote, unauthenticated attacker to inject and execute malicious code on the target appliance, potentially resulting in complete compromise of the affected system.
  remediation: |
    Update VMware vRealize Log Insight to version 8.10.2 or later, as detailed in the official vendor advisory.
  reference:
    - http://packetstormsecurity.com/files/174606/VMware-vRealize-Log-Insight-Unauthenticated-Remote-Code-Execution.html
    - https://www.vmware.com/security/advisories/VMSA-2023-0001.html
    - https://nvd.nist.gov/vuln/detail/CVE-2022-31704
  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-2022-31704
    epss-score: 0.9057
    epss-percentile: 0.99582
    cwe-id: CWE-22
    cpe: cpe:2.3:a:vmware:vrealize_log_insight:*:*:*:*:*:*:*:*
  metadata:
    vendor: vmware
    product: vrealize_log_insight
    shodan-query: http.title:"vrealize log insight"
    fofa-query: title="vrealize log insight"
    google-query: intitle:"vrealize log insight"
  tags: cve,cve2022,vmware,vrealize,rce,lfi,passive,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/i18n/component/JS?locale=en-US"
      - "{{BaseURL}}/api/v1/version"

    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(body, "logInsight", "releaseName\":")'
        condition: and

      - type: dsl
        dsl:
          - "compare_versions(version, '>= 3.0', '< 4.8')"
          - "compare_versions(version, '>= 8.0.0', '< 8.10.2')"
        condition: or

    extractors:
      - type: regex
        part: body
        name: version
        group: 1
        regex:
          - 'version"\s*:\s*"([0-9.]+)'
# digest: 490a00463044022071ed1a98dc910db43e517c9515bafe6e2a7035371245b9aaa76a0130db9f9a8a022078f2eb5128abe06fc2a1499fa213628672c1ed8870e5eec9e95a21412a215a19:922c64590222798bb761d5b6d8e72950

相关漏洞推荐