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.88193
    epss-percentile: 0.99746
  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: 4b0a00483046022100ff1fafe0f5b617984800d1d54400618c5c3509f134546fd209af176297b6e70b022100900d98bca16bd9423c24b37b06fa7e3b5c1167b34920d1be2527dc387bca25ac:922c64590222798bb761d5b6d8e72950