id: CVE-2024-40711

info:
  name: Veeam Backup & Replication - Unauthenticated
  author: rootxharsh,iamnoooob,DhiyaneshDK
  severity: critical
  description: |
    A deserialization of untrusted data vulnerability with a malicious payload can allow an unauthenticated remote code execution (RCE).
  impact: |
    Unauthenticated attackers can exploit deserialization vulnerabilities to achieve remote code execution on Veeam Backup & Replication servers.
  remediation: |
    Update Veeam Backup & Replication to a patched version addressing CVE-2024-40711.
  reference:
    - https://x.com/codewhitesec/status/1831720125747069389?s=46
    - https://www.veeam.com/kb4649
    - https://nvd.nist.gov/vuln/detail/CVE-2024-40711
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2024-40711
    cwe-id: CWE-502
    epss-score: 0.72696
    epss-percentile: 0.98794
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"Veeam Backup"
  tags: cve,cve2024,veeam,backup,unauth,passive,kev,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/v1/serverinfo"
    headers:
      X-Api-Version: 1.1-rev1

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"databaseVendor":'
          - '"databaseContentVersion":'
        condition: and

      - type: word
        part: content_type
        words:
          - "application/json"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502205beb568ec0e59bb92b15b6b86a7e1870e1d3f061f47e0cae7201c1416cd835fb022100b74ae5aa64e6d4f5e3909ce9730da539dabca504dc6908289ff9b0343a5b5f3f:922c64590222798bb761d5b6d8e72950