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).
  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.56193
    epss-percentile: 0.97684
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"Veeam Backup"
  tags: cve,cve2024,veeam,backup,unauth,passive,kev

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: 4a0a0047304502204980640cb624d1bf17be0b305a24d9552b8dda57d040d9b5f32ebcde3db96328022100815780c78201b43cda6451a87c6d6b3b2236dbe565f944f9e50464d30484adec:922c64590222798bb761d5b6d8e72950