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.90369
    epss-percentile: 0.99787
  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: 4a0a00473045022100f9e41d2b256719c1817cfaf9b41563fa360522cae379414a2599b7da8ee6892e02200431a6b5ade87577dbb1962bb7f330e1cfd55b512ae6fa6ff448b4baa624f02b:922c64590222798bb761d5b6d8e72950